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];
πŸ’¬ Discuss
βœ… Correct Answer: (A) int arr[10];
Explanation: The correct C syntax to declare an array is 'int arr[10];'.
Explanation by: Mr. Dubey
The correct C syntax to declare an array is 'int arr[10];'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
94
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate