Question: Q3. Write a program in C that will find the average of even numbers and also find the average of the odd numbers from the

 Q3. Write a program in C that will find the average

Q3. Write a program in C that will find the average of even numbers and also find the average of the odd numbers from the 3 by 3 matrix. Take the input from the user. print the number in the main function. Use the following prototype: void findEvenOddAvg(int rowSize, int colSize, int mat[rowSize][colSize], int *evenAvg, int *oddAvg) Your answer Q4. Implement the following function which accepts a string as a parameter and check if the string is palindrome or not, without using any function from the string library. Take the user input.print the palindrome message in the main function using isPalindromeKey pointer variable if the value is 0 then not palindrome and if the value is 1 then palindrome. Function prototype: void checkPalindrome(char *str, int *isPalindromeKey) Your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!