Is it possible to run a c program without using main?If yes
HOW??
Answer Posted / vrushali
Hi Valli,
I tried the solution provided by you. It doesnot work.
Please chk the compliation procedure.
gcc -g -nostartfiles main.c
I am getting the following:
/usr/bin/ld: warning: cannot find entry symbol _start;
defaulting to 080481a4
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
Why c is called free form language?
What is the best way to comment out a section of code that contains comments?
What is meant by recursion?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What is maximum size of array in c?
What is the best way to store flag values in a program?
hi friends how r u as soon in satyam my interview is start but i m very confusued ta wat i do plz help me frndz wat can i do plz tell me some question and answers related with "C" which r asked in the interview .
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the use of define in c?
What is the method to save data in stack data structure type?
How to write a multi-statement macro?
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain 'far' and 'near' pointers in c.
What is printf () in c?