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

when to use : in c program?

2 Answers  


What is a structure and why it is used?

0 Answers   Hexaware,


write a C code to reverse a string using a recursive function, without swapping or using an extra memory.

9 Answers   Motorola, TCS, Wipro,


write a program to display reverse of a number using for loop?

14 Answers  


write a program which will count occurance of a day between two dates.

1 Answers   IonIdea,






WAP to convert text into its ASCII Code and also write a function to decode the text given?

2 Answers  


Hi, main() { } Is a user defined function or Built in Functionn

26 Answers   Honeywell, Yahoo,


Explain what math functions are available for integers? For floating point?

0 Answers  


What is keyword in c?

0 Answers  


What are the difference between a free-standing and a hosted environment?

0 Answers   Infogain,


do you think its fraud or original company?

0 Answers  


What is Conio.h ?

2 Answers   TCS,


Categories