Can a program have multiple main() functions?



Can a program have multiple main() functions?..

Answer / nashiinformaticssolutions

No, only one main() function is allowed.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Do string constants represent numerical values?

0 Answers  


Calculate 1*2*3*____*n using recursive function??

0 Answers  


What is the output of following program ? int main() { int x = 5; printf("%d %d %d\n", x, x << 2, x >> 2); }

5 Answers   Amazon, Qualcomm,


Give a fast way to multiply a number by 7

15 Answers   Accenture, Aricent, Microsoft,


WAP to find that given no is small or capital

3 Answers  


12345 1234 123 12 1

2 Answers  


What are pointers? What are different types of pointers?

0 Answers   Fidelity,


why java is called as a purely oops language.

3 Answers   TVS,


Simplify the program segment if X = B then C &#8592; true else C &#8592; false

0 Answers  


What are qualifiers in c?

0 Answers  


what will be the output of the following program, justify? #define TEST int TEST getdata() { static i; i+=10; return i; } main() { int k; k = getdata(); }

3 Answers  


which type of question asked from c / c++ in interview.

2 Answers  


Categories