Whether there can be main inside another main?If so how does
it work?
Answer Posted / divyansh
main marks the beginning of a program, 2 direct mains can't
be there as it will make the compiler dumb!(literally),in
this case it will give an error, or an infinite loop
operation will be executed.
| Is This Answer Correct ? | 21 Yes | 3 No |
Post New Answer View All Answers
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the mean of function?
What are the different types of data structures in c?
Differentiate between static and dynamic modeling.
What is the difference between single charater constant and string constant?
What is infinite loop?
What is the correct code to have following output in c using nested for loop?
How to implement a packet in C
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
What is the data segment that is followed by c?
write a c program in such a way that if we enter the today date the output should be next day's date.
What does the function toupper() do?
What is extern variable in c with example?
Write a program to use switch statement.
Explain what is wrong with this program statement?