Q. What is the output of C Program with functions and pointers.?
Code:int main()
{
int b=25;
//b memory location=1234;
int *p = b;
printf("%d %d", b, p);
return 0;
}
Dear candidates you will find MCQ questions of C Programming here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
int main()
{
int b=25;
//b memory location=1234;
int *p = b;
printf("%d %d", b, p);
return 0;
}
int main()
{
int b=25;
//b memory location=1234;
int *p;
p=&b;
printf("%d %d %d", &b, p);
return 0;
}
int a=10, *p;
p = &a;
printf("%d %d", a, *p);
int main()
{
printf("funny=%d" , funny());
return 0;
}
funny()
{
}
void funny2();
int main()
{
printf("funny2=%d" , funny2());
return 0;
}
void funny2()
{
}