#include<stdio.h>
void main()
{
static int var=5;
static int result=1;
result*=var;
printf("\n %d",var--);
printf("\n Result is %d",result);
if(var)
{
main();
}
return;
}
void main()
{
static int var=5;
static int result=1;
result*=var;
printf("\n %d",var--);
printf("\n Result is %d",result);
if(var)
{
main();
}
return;
}
No comments:
Post a Comment