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
What do you mean by Recursion Function?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
what is the basis for selection of arrays or pointers as data structure in a program
What is break statement?
Why cant I open a file by its explicit path?
What is the size of enum in c?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
int i=10; printf("%d %d %d", i, i=20, i);
to find the closest pair
What are the differences between Structures and Arrays?
How to Throw some light on the splay trees?
What is type qualifiers?
how to introdu5ce my self in serco
Does free set pointer to null?
What are the 5 types of inheritance in c ++?