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

write a programe returns the number of times the character appears in the string

2 Answers  


What are Storage Classes in C ?

32 Answers   CTS, HP, IBM, Maharaja Whiteline, Tamil Nadu Open University TNOU, TATA, TCS, Wipro,


What do you mean by Recursion Function?

0 Answers   Hexaware,


In how much time you will write this c program? Prime nos from 1 to 1000

2 Answers   TCS,


In the below code, how do you modify the value 'a' and print in the function. You'll be allowed to add code only inside the called function. main() { int a=5; function(); // no parameters should be passed } function() { /* add code here to modify the value of and print here */ }

1 Answers  


Why should I use standard library functions instead of writing my own?

0 Answers  


What is the difference between %d and %i?

0 Answers  


Explain the properties of union. What is the size of a union variable

0 Answers  


Explain Doubly Linked Lists?

3 Answers  


Can you please explain the difference between exit() and _exit() function?

0 Answers  


Explain what is the advantage of a random access file?

0 Answers  


what is the full form of c language

9 Answers   Satyam, TCS, VNC,


Categories