can v write main()
{
main();
}
Is it true?
Answers were Sorted based on User's Feedback
Answer / manish soni bca 3rd year jaipu
it is recursive function.
here is no condition is apply so
the result is
infintely.
and after that 'the statck memory flow'.
conditio is start.
manish soni tagore bio tech collage,
jaipur
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / satya
k.. but what is the result.. i want some explanation... is
not it be recurssive..
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sharath
yes it becomes a recursive function
we have to specify any condition using a loop or any decision block so that the loop doesnot call the main() function again.
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / sharath
what do you think as you oppposed the answer
can you please explain it
please..
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sharath
yes u are right
there is no condition and the result is an infinite loop which continues till the stack overflow after that it may hang..
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a c program using for loop in switch case?
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
What is calloc in c?
Is the below things valid & where it will be stored in memory layout ? static const volatile int i; register struct { } ; static register;
How can you determine the size of an allocated portion of memory?
How to add two numbers without using semicolon at runtime
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is #line?
what is op? for(c=0;c=1000;c++) printf("%c",c);
what is the difference between procedure oriented and object oriented progaming language
What is struct node in c?