Question: Just short answers 9) Write a C function that receives a float array parameter called my_array and an int parameter called size and returns the
Just short answers
9) Write a C function that receives a float array parameter called my_array and an int parameter called size and returns the average value of the numbers in the array 10) Write a C function that takes a string parameter and returns the length of the string as an integer 11)Write a C function that computes the roots of a quadratic equation:x- 2a a. Include the math.h library to use the sqrt (float) function b. Declare a struct type with two float fields, to store the two roots c. Write a C function that takes 3 float parameters, computes the two roots, and returns the roots in a struct of the type you declared 12)What is printed when the following C program is executed? int maino char "ci char - char d v-1 printf(in".) print(sdin"..) : printf ("%d ", d); printf("soln" ); return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
