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 |
Explain how can I convert a string to a number?
Explain what is meant by high-order and low-order bytes?
Explain the term printf() and scanf() used in c language?
How to set a variable in the environment list?
c program to subtract between two numbers without using '-' sign and subtract function.
# define x=1+4; main() { int x; printf("%d%d",x/2,x/4); }
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
Why c++ is called c++ and not c+?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
How Many Header Files in c?
Is both getch() and getchar() functions are similar? if it is similar means why these two functions are used for same usage? if it is not similar means what is the difference?
write aprogram for There is a mobile keypad with numbers 0-9 and alphabets on it. take input of 7 keys and then form a word from the alphabets present on those keys.
1 Answers iGate, Shashi, Source Bits, Subex,