Can we write a program without main() function?

Answer Posted / samarth

yes, we can write C programs , without main() functions.
though they are not the kind of programs we use in everyday
life .For example linux kernel source code do not have any
main() function.

for details u can visit :

http://samarthonweb.blogspot.com/2009/08/c-programe-with-no-main-function.html

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ## preprocessor operator in c?

607


Compare and contrast compilers from interpreters.

679


What are the general description for loop statement and available loop types in c?

681


What is the use of putchar function?

646


What are runtime error?

623






c program for searching a student details among 10 student details

1648


What are the different types of C instructions?

669


What is the data segment that is followed by c?

603


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

3180


What is meant by high-order and low-order bytes?

646


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2405


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

2920


Why is extern used in c?

610


Explain the difference between strcpy() and memcpy() function?

585


Give basis knowledge of web designing ...

1569