Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Can i use Two or More Main Funtion in any C program.?

Answers were Sorted based on User's Feedback



Can i use Two or More Main Funtion in any C program.?..

Answer / vadivelt

Main fuction can be called from a main function of same
prototype(recursive call). But multiple definition of a
main function is not possible.

Is This Answer Correct ?    12 Yes 1 No

Can i use Two or More Main Funtion in any C program.?..

Answer / madhu cherukuri

always the c program starts from main function only.if we
will write two main functions then it is confusion to complier.
one more import point the main function it self can not
executed one more internal function i.e start function
called the main function then main starts execution.

Is This Answer Correct ?    7 Yes 0 No

Can i use Two or More Main Funtion in any C program.?..

Answer / shirad

There cannot be two functions with same name or else there
will be error in build process stating "redefinition"

Is This Answer Correct ?    3 Yes 1 No

Can i use Two or More Main Funtion in any C program.?..

Answer / manjunath m

There cannot be two functions with same name or else there
will be error in build process stating "redefinition"

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

how do you redirect stdout value from a program to a file?

1 Answers  


How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?

0 Answers   Infosys,


Which of the Following is not defined in string.h? A)strspn() B)strerror() C)memchr() D)strod()

2 Answers   Accenture, TCS,


show how link list can be used to repersent the following polynomial i) 5x+2

0 Answers   CBSE,


to find the program of matrix multiplication using arrays

6 Answers   Bhel,


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

0 Answers   Zoho,


What is putchar() function?

0 Answers  


What is time complexity c?

0 Answers  


What is the best way to store flag values in a program?

0 Answers  


i need all types of question paper releted to "c" and other language.

0 Answers  


How can I list all of the predefined identifiers?

0 Answers  


about c language

0 Answers  


Categories