Sail E0 Webinar
Question


What will be the output of the program?


#include<stdio.h>
int fun(int(*)());
int main()
{
fun(main);
printf("Hi\n");
return 0;
}
int fun(int (*p)())
{
printf("Hello ");
return 0;
}
Options:
A .  Infinite loop
B .  Hi
C .  Hello Hi
D .  Error
Answer: Option C

No answer description available for this question. 



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers