Whether there can be main inside another main?If so how does
it work?
Answer Posted / harinath
yes there can be
for example
main()
{
static int count=50;
printf("%d",count--);
while(count>0)
main();
}
here the output is numbers upto 1 then it comes out of it.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a class c rental property?
What is difference between array and structure in c?
How can I find the modification date of a file?
How to throw some light on the b tree?
given post order,in order construct the corresponding binary tree
What is a lvalue
What is a program?
What is this infamous null pointer, anyway?
How variables are declared in c?
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
What is an auto keyword in c?
What are the storage classes in C?
Are the expressions * ptr ++ and ++ * ptr same?
Define Array of pointers.
What are the different types of linkage exist in c?