Q. Choose a correct statement about a Multidimensional array and pointer.

  • (A) int *ptr[N] is an array of N integer pointers. Size is N * sizeof(1*int).
  • (B) int (*ptr)[N] is a pointer to an array of N elements. Size of ptr is size of 1 integer.
  • (C) An multidimensional array or a single dimensional array can contain pointer elements.
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
217
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
90%
Success Rate