Solved

Which of the Following Is Not a Correct Way to Initialize

Question 12

Multiple Choice

Which of the following is not a correct way to initialize an array?


A) int n[ 5 ] = { 0, 7, 0, 3, 8, 2 };
B) int n[] = { 0, 7, 0, 3, 8, 2 };
C) int n[ 5 ] = { 7 };
D) int n[ 5 ] = { 9, 1, 9 };

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions