πŸ“Š C Programming
Q. Which of the following is correct about array indexing?
  • (A) a[5] = 0 is valid for array of size 5
  • (B) a[0] is always the last element
  • (C) a[-1] is valid
  • (D) a[0] is the first element
πŸ’¬ Discuss
βœ… Correct Answer: (D) a[0] is the first element

Explanation: Arrays in C are 0-indexed, so the first element is a[0].

Explanation by: Mr. Dubey
Arrays in C are 0-indexed, so the first element is a[0].

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
52
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate