A

Admin • 833K Points
Coach

Q. What is the output of C Program with pointers?

Code:
int main()
{
int a=20;
//a memory location=1234
printf("%d %d %d", a, &a, *(&a));
return 0;
}
  • (A) 20 20 20
  • (B) 20 1234 1234
  • (C) 20 1234 20
  • (D) 20 20 20
  • Correct Answer - Option(C)
  • Views: 19
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.