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

difference between i++* and *++i

6 Answers   IBM,


Why doesnt this code work?

0 Answers  


What is c++ used for today?

0 Answers  


Write a program in c to input a 5 digit number and print it in words.

11 Answers  


what do you mean by defining a variable in our c code?

2 Answers  


What is indirection?

0 Answers  


how to create c progarm without void main()?

1 Answers   NIIT,


If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above

0 Answers  


which one is highest Priority in c? a)=,b)+,c)++,d)==

4 Answers  


What is an volatile variable?

15 Answers   HP,


What type of function is main ()?

0 Answers  


Write a code to determine the total number of stops an elevator would take to serve N number of people.

0 Answers   Expedia,


Categories