Try Guessing The Output of the following.
#include<iostream.h>
#include<conio.h>
static int i=5;
void main()
{ clrscr();
if(--i)main();
cout<<i;
}
what do you think it will display.
Can't Deduce? Go run in your compiler then and get ready to be amazed.
Happy Coding.
No comments:
Post a Comment