Can i use Two or More Main Funtion in any C program.?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
What is c programming structure?
What do mean by network ?
main is a predefined or user define function if user defined why? if predefined whay?
Write a code on reverse string and its complexity.
how to write a data 10 in address location 0x2000
The variables are int sum=10,SuM=20; these are same or different?
what is the diff between the printf and sprintf functions?? and what is the syntax for this two functions ??
What is the explanation for prototype function in c?
can please someone teach me how to create this program using while statement.. this is the output should look like 0 2 4 6 8 10 -thanks.. :) need it asap...
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What is the sizeof () operator?
12344321 123 321 12 21 1 1 how i print this program??
5 Answers DSR Management, Winit,