Q.

What is right way to Initialization array?

A. int num[6] = { 2, 4, 12, 5, 45, 5 } ;
B. int n{} = { 2, 4, 12, 5, 45, 5 } ;
C. int n{6} = { 2, 4, 12 } ;
D. int n(6) = { 2, 4 , 12, 5, 45, 5 }
Answer» A. int num[6] = { 2, 4, 12, 5, 45, 5 } ;
3.9k
0
Do you find this helpful?
38

Discussion

No comments yet