A

Admin • 828.03K Points
Coach

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 } ;
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.