why we use function declaration and when we use it And why we don't use in the below example.

0 votes
asked Sep 2 by anonymous
main()
{
while(fun());
getch();
}
int fun()
{
static int x=4;
printf("%d",x);
return(--x);
}

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...