Whether there can be main inside another main?If so how does
it work?

Answer Posted / shiva

main()
{
printf("main()");
}

Is This Answer Correct ?    39 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the Advantages of using macro

690


Which is more efficient, a switch statement or an if else chain?

585


Is main is user defined function?

601


How can I manipulate individual bits?

613


What is the difference between functions abs() and fabs()?

655






How we can insert comments in a c program?

636


What is break in c?

592


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

648


a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.

4547


What is a ternary operator in c?

661


What is the use of #define preprocessor in c?

623


What is call by reference in functions?

575


What does malloc () calloc () realloc () free () do?

565


What are global variables and explain how do you declare them?

584


How do you initialize pointer variables?

618