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 / kalyan chukka
Loop will Repeated 10 times .in this program main function
is called it self 10 times.So the loop will repeated 10 times
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
Which one would you prefer - a macro or a function?
Write a function that will take in a phone number and output all possible alphabetical combinations
Difference between Shallow copy and Deep copy?
Which function in C can be used to append a string to another string?
I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
What are the c keywords?
What is the symbol indicated the c-preprocessor?
What are the advantages of c language?
What is the use of structure padding in c?
What is the purpose of void pointer?
will u please send me the placement papers to my mail???????????????????
hi send me sample aptitude papers of cts?
How can I sort more data than will fit in memory?
What is pass by reference in c?
Can we add pointers together?