Whether there can be main inside another main?If so how does
it work?
Answer Posted / sandeep
Absolutely no .
Because the question asks that whether we can define a main inside other main,they did't ask about we can call main by its self or not.
#include<stdio.h>
void main()
{
void main()
{
printf("main");//un ambigious
}
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which is better between malloc and calloc?
count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array
What is the purpose of main( ) in c language?
Why is python slower than c?
What is c definition?
what do you mean by inline function in C?
What are the different types of control structures in programming?
what will be maximum number of comparisons when number of elements are given?
What are control structures? What are the different types?
What is an identifier?
Write a program to know whether the input number is an armstrong number.
how can I convert a string to a number?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Explain how do you determine whether to use a stream function or a low-level function?
How can I copy just a portion of a string?