1. int foo( int boot[5] ); 2. int foo( int* boot ); 3. int foo( int boot[] ); 4.
ID: 3652814 • Letter: 1
Question
1. int foo( int boot[5] ); 2. int foo( int* boot ); 3. int foo( int boot[] ); 4. int foo ( int x ); 5. int foo( int *x ); 6. int foo( int tire[3][5] ); Illustration 3: Function prototypes ----------------------------------------------------------------------------------- 18. Illustration 3: What makes the lines a function prototype? A. int B. foo C. parenthesis D. semicolon 19. Illustration 3: Which line declares a single dimension integer array with an unnecessary dimension value? A. 3 B. 6 C. 1 D. 5 20. Illustration 3: Which line declares a multi-dimension array? A. 6 B. 1 C. 3 D. 5 21. Illustration 3: Which line declares an integer array without including dimension information? A. 1 B. 5 C. 3 D. 6 22. Illustration 3: Which line declares that the function is receiving a copy of a value? A. 1 B. 4 C. 2 D. 5 23. Illustration 3: Does line 1 declare an integer pointer? A. no B. yes C. 5 D. ' * 'Explanation / Answer
please rate - thanks
1. int foo( int boot[5] );
2. int foo( int* boot );
3. int foo( int boot[] );
4. int foo ( int x );
5. int foo( int *x );
6. int foo( int tire[3][5] );
Illustration 3: Function prototypes ----------------------------------------------------------------------------------- 18. Illustration3: What makes the lines a function prototype? A. int B. foo C. parenthesis D. semicolon
19. Illustration 3: Which line declares a single dimension integer array with an unnecessary dimension value? A. 3 B. 6 C. 1 D. 5 1st dimension not needed
20. Illustration 3: Which line declares a multi-dimension array? A. 6 B. 1 C. 3 D. 5
21. Illustration 3: Which line declares an integer array without including dimension information? A. 1 B. 5 C. 3 D. 6
22. Illustration 3: Which line declares that the function is receiving a copy of a value? A. 1 B. 4 C. 2 D. 5
23. Illustration 3: Does line 1 declare an integer pointer? A. no B. yes C. 5 D. ' * '
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.