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 |
What is the scope of local variable in c?
write a program to display the numbers having digit 9 in the given range from 1 to 100
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
what is structuer?
main() { int i; printf("%d",((i=1)*i-- - --i*(i=-3)*i++ + ++i)); } ans is 24 bt how?pls tell smbody............
Is boolean a datatype in c?
Explain what is a static function?
Write a program that accepts a string where multiple spaces are given in between the words. Print the string ignoring the multiple spaces. Example: Input: “ We Are Student “ Output: "We Are Student"
What is a macro?
write a program to display numbers from 1 to 10 and 10 to 1?
What is difference between structure and union?
What is scanf () in c?