Question: b. c. d. &ptr & ptr ptr ptr boss1075 05) 13: Which of the following is not a correct way to initialize an array? a
b. c. d. &ptr & ptr ptr ptr boss1075 05) 13: Which of the following is not a correct way to initialize an array? a b. int n[ 5 ] = { 0, 7. 0. 3, 8, 2): int n = { 0, 7, 0. 3. 8. 2 }; int n[ 5 ] =( 7 ): i nt n[ 5 ] - [ 9. 1. 9 ): c d and individual array elements are passed 14: Unless otherwise specified, entire arrays are passed a. b. c. d. By value, by reference. By reference, by value. By value, by value. By reference, by reference. 15: Linear search can be used on: b. Unsorted arrays Sorted arrays. Integer arrays. Any of the above. d. 16: A double subscripted array declared as int a[ 3 ][ 5 ]: has how many elements? 15 b. 13 c. 10 d. 8 17: To execute multiple statements when an 1 statement's condition is true, enclose those statements in a pair of: Parentheses, (). Square Brackets [] c. Braces. ( ). Angle brackets, 18: A constructor can specify the return type: void d. A constructor cannot specify a return type. int 19: A default constructor has how many parameters? d. Variable number. 2. O. b. 1 20: Function headers contain all of the following except: a. b. c. d. Parentheses. Left brace. Name of function. Return type
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
