T

Team MCQ Buddy • 20.45K Points
Instructor III

Q. Comment on the following pointer declaration?

Code:
int *p, x;
  • (A) p is a pointer to integer, x is not
  • (B) p and x, both are pointers to integer
  • (C) p is pointer to integer, x may or may not be
  • (D) p and x both are not pointers to integer

Explanation by: Team MCQ Buddy
In the above given statement, variable p is a pointer to integer, while x is an integer variable.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics