Question: QUESTION 1 Declare an integer array called numbers of size 20. Initialize all its elements to 0 in the declaration. 10 points QUESTION 2 Write
QUESTION 1
Declare an integer array called numbers of size 20. Initialize all its elements to 0 in the declaration.
10 points
QUESTION 2
Write the prototype of a function called sort that accepts an array of doubles and an integer in that order. The function does not return any value.
10 points
QUESTION 3
If a declaration statement allocates 100 storage locations to an array, the program must assign values to all 100 elements.
True
False
5 points
QUESTION 4
All C programs have a function called main.
True
False
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
