Question: c programming Important Notice: 1. Use any software compiler to code, buid, and execute your programs 2 Answer ALL the questions 3. No mark shall

c programming c programming Important Notice: 1. Use any software compiler to code, buid,

Important Notice: 1. Use any software compiler to code, buid, and execute your programs 2 Answer ALL the questions 3. No mark shall be awarded to plagiarised work Question 1 Write a function named printArray ( ) to print the output for each element in the following array Int array(3113) - (01. 2. 3. 4. 5. 6. 7. 8. 9)) Question 2 Write a C program to add the number elements in two different arrays below and store the sum value in the third array int array1151 - 11. 2. 3. 4. 513 float array251 - 10.1, 0.2, 0.3, 0.6 0.51 float array(51: Question 3 Modify your program in Question 2 above, swap the position of the values stored in array from the highest to the lowest and store those values in array arrays - ( 1.1, 2.2.3.3, 4., 5.5 array - 15.5. 4.4. 3.3, 2.2.1.1 Question 4 Write a C program to sort the numbers in the given array in ascending order. Store the sorted numbers in an array and print its output. Input: 15. -5, 3, -2, 0) Output: (-5, -2, 0. 3. 5) Question 5 Write a C function named counting101() which accepts an arbitrary integer array int st]. count the number of occurrence 101" contained within that array and output the count on the console. For example, 10101 shall output 2

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!