can we write a c program with out using main

Answer Posted / durga mahesh

Say Big Nooooooooooooooooo..........
Its never ever possible bcoz when a program is compiled the compiler always looks for the entry of the program initially(this is the first and foremost action performed by compier)
In c,main() is the entry section...exectuion begins only after main is checked....

Is This Answer Correct ?    20 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are comments and how do you insert it in a C program?

746


Explain how does flowchart help in writing a program?

636


What is a floating point in c?

607


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

1907


What are the advantages of the functions?

609






What is structure in c explain with example?

642


What is putchar() function?

640


What does *p++ do? What does it point to?

618


Write a program of prime number using recursion.

623


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1500


What is a constant and types of constants in c?

606


write a progrmm in c language take user interface generate table using for loop?

1576


When the macros gets expanded?

792


What is the difference between array and pointer?

571


Sir i need notes for structure,functions,pointers in c language can you help me please

1949