with out using main how to execute the program?

Answers were Sorted based on User's Feedback



with out using main how to execute the program?..

Answer / pradeep

It is not a c program if it is not using main function.
Compiler starts execution from main function always.

Is This Answer Correct ?    18 Yes 4 No

with out using main how to execute the program?..

Answer / sagar

In any C program, it must contain main function..........
So, it is not possible to run any program without main
function .......

Is This Answer Correct ?    5 Yes 5 No

Post New Answer

More C Interview Questions

While compiling a c program,graphics header files are not including in my program..eg: <graphics.h>,what may be the problem...is there any environment settings exists.

2 Answers  


Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?

1 Answers  


int i=0,j; j=++i + ++i ++i; printf(" %d",j);

2 Answers   ME,


What is a macro in c preprocessor?

0 Answers  


what is the difference b/w compiler and debugger?

2 Answers   Assurgent,






any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above

0 Answers  


How does C++ help with the tradeoff of safety vs. usability?

1 Answers  


how can you print&scan anything using just one character? :) HINT: printf,scanf similer

2 Answers  


What is the meaning of int *x[]();?

1 Answers  


yogesh patil in dell

3 Answers   DELL,


Which is the best website to learn c programming?

0 Answers  


Difference between macros and inline functions? Can a function be forced as inline?

0 Answers   HAL, Honeywell, Zomato,


Categories