Question: number 5 please 4) Given the following input: 50 15 18 21 30 11 14 18 24 28 What is the output of the following
number 5 please
4) Given the following input: 50 15 18 21 30 11 14 18 24 28 What is the output of the following C program? #include 0,i--) if alil j then k i; printf %din", a printf ("Say What? alkl 5) Find the error in each of the following statements: a) Assume: char str15]; scanf ("%s",str): user types hello b) Assume int a[3]; printf (%d %d %din'',a[1],a[2],a(3D; c) double f13]-fl.1, 10.02, 100.001, 1000.0001); d) Assume double dl20010: d(1,9] 2.345: 6) Write a program that copies each value stored in one array to the corresponding element of another array. For example, if the arrays are InAmay and outArray, copy InArray[1] to outArraylij. then copy InArray[2] to outArray[2], and so on. write a program to find the smallest element of an array. Assume that there are no duplicate entries in the array. Return the one single item if the array has only one item. For example, assume you have array int testl101-(1,2,3,4,5,6,7,8,9,10) You can use the following algorithm: smallest testo]; for (i 0:i