A

Admin • 833K Points
Coach

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

Code:
int main()
{
int b=25;
//b memory location=1234;
int *p;
p=&b;
printf("%d %d %d", &b, p);
return 0;
}
  • (A) 25 25
  • (B) 1234 1234
  • (C) 25 1234
  • (D) 1234 25
  • Correct Answer - Option(B)
  • Views: 26
  • 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.