Q. How to find the length of an array in C?

  • (A) sizeof(a)
  • (B) sizeof(a[0])
  • (C) sizeof(a) / sizeof(a[0])
  • (D) sizeof(a) * sizeof(a[0])
πŸ’¬ Discuss
βœ… Correct Answer: (C) sizeof(a) / sizeof(a[0])

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
199
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
97%
Success Rate