how to execute with out main in cprogram

Answer Posted / himanshu rajput

Sushil kumar is right.exactly this is being happened in that program.That program is also using main function by the reference of other name.so c program always requires main function and does'nt have any mean without main.
but we do'nt need to write clrscr() and getch() function to our program in latest compilers like as DEV-C++.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you determine a file’s attributes?

599


Which header file should you include if you are to develop a function which can accept variable number of arguments?

815


given post order,in order construct the corresponding binary tree

2327


How can I read in an object file and jump to locations in it?

583


What are identifiers in c?

640






GIven a sequence of characters. How will you convert the lower case characters to upper case characters. ( Try using bit vector - sol given in the C lib -> typec.h)

688


program to convert a integer to string in c language'

1990


What are the loops in c?

597


What is the difference between %d and %i?

598


Explain what is the benefit of using #define to declare a constant?

614


Explain pointers in c programming?

640


What is the use of c language in real life?

537


Which is better malloc or calloc?

656


What are enums in c?

665


What is the maximum length of an identifier?

669