Is main() is used in the program,,see below example?
void main()
{
int i;
for(i=0;i<10;i++)
main();
}
Then what is the output of the program?
Answer Posted / hari
it will go into an infinite loop.
cheers !!!
for further queries and discussions, just check these out !!!
http://forum.campusmaniac.com/
http://www.campusmaniac.com/
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
How many types of errors are there in c language? Explain
Explain about block scope in c?
What is the return type of sizeof?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
Why do we need arrays in c?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
What is the difference between malloc calloc and realloc in c?
What are the types of data types and explain?
What do you understand by friend-functions? How are they used?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Describe the header file and its usage in c programming?
Why can’t we compare structures?
What is wrong with this program statement? void = 10;
What are the types of bitwise operator?