void main()
{
static int i = 5;
if(--i)
{
main();
printf("%d
",i);
}
}
what would be output of the above program and justify your
answer?
}
Answer Posted / biren
we can't call a main function with in main.
Is This Answer Correct ? | 7 Yes | 32 No |
Post New Answer View All Answers
Tell me what are bitwise shift operators?
What is the difference between union and anonymous union?
a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);
What are the general description for loop statement and available loop types in c?
Do you have any idea how to compare array with pointer in c?
What are local static variables?
List the difference between a "copy constructor" and a "assignment operator"?
What is difference between && and & in c?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
Can we access array using pointer in c language?
What is the difference between variable declaration and variable definition in c?
What is keyword in c?
Which is better between malloc and calloc?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
Can an array be an Ivalue?