Question
#include<stdio.h>
int main()
{
printf("%p\n", main());
return 0;
}
Which of the following statements are correct about the program?
#include<stdio.h>
int main()
{
printf("%p\n", main());
return 0;
}
Answer: Option B
Was this answer helpful ?
In printf("%p`setminus`n", main()); it calls the main() function and then it repeats infinetly,
untill stack overflow.
Was this answer helpful ?
Submit Solution