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 |
Program to display given 3 integers in ascending order
How to print %d in output
Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.
What is return in c programming?
Explain in detail how strset (string handling function works )pls explain it with an example.
What is a void pointer? When is a void pointer used?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
What is indirection in c?
what defference between c and c++ ?
main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); }
27 Answers Advent Global Solutions, CitiGroup, Valeo Lighting Systems India Private Limited, Vishal Transformers, Wipro, Zencer,
Is file a keyword in c?