Q. What is ptr in the given statement?

Code:
int (*ptr)[5];
  • (A) ptr is an array of 5 pointers
  • (B) ptr is a simple integer array
  • (C) ptr is a pointer to a 5 elements integer array
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) ptr is a pointer to a 5 elements integer array

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
332
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Team MCQ Buddy
Publisher
πŸ“ˆ
93%
Success Rate