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;
}
β
Correct Answer: (C)
20 1234 20
int main()
{
int a=20;
//a memory location=1234
printf("%d %d %d", a, &a, *(&a));
return 0;
}
You must be Logged in to update hint/solution