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
Can you mix old-style and new-style function syntax?
Write a c program to demonstrate character and string constants?
Can you please explain the difference between strcpy() and memcpy() function?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
what is the function of pragma directive in c?
What is pointer to pointer in c?
Why is %d used in c?
What are the different data types in C?
How would you obtain the current time and difference between two times?
FILE PROGRAMMING
What are the string functions? List some string functions available in c.
What do you understand by friend-functions? How are they used?
What is the purpose of the statement: strcat (S2, S1)?
What is register variable in c language?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none