A

Admin • 833K Points
Coach

Q. Which is the correct way to declare an array of 10 integers?

  • (A) int arr[10];
  • (B) int arr;
  • (C) int[10] arr;
  • (D) array int arr[10];
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

The correct C syntax to declare an array is 'int arr[10];'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.