Q. Which of the following codes creates an array of 5 integers?

  • (A) int arr(5);
  • (B) int *arr[5];
  • (C) int arr[4];
  • (D) int arr[5];
πŸ’¬ Discuss
βœ… Correct Answer: (D) int arr[5];
Explanation: To create an array of 5 integers use int arr[5];
.
Explanation by: Admin
To create an array of 5 integers use int arr[5];
.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
212
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Admin
Publisher
πŸ“ˆ
85%
Success Rate