A

Admin • 833K Points
Coach

Q. What does the following line declare?
`int *ptr[5];`

  • (A) Pointer to 5 integers
  • (B) Array of 5 integers
  • (C) Array of 5 integer pointers
  • (D) Pointer to an array of 5 integers
  • Correct Answer - Option(C)
  • Views: 27
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

`int *ptr[5];` declares an array of 5 pointers to int.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.