Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

2250


Why c is called free form language?

1076


What is the best way to comment out a section of code that contains comments?

1390


What is meant by recursion?

1100


Function calling procedures? and their differences? Why should one go for Call by Reference?

1139


What is maximum size of array in c?

1088


What is the best way to store flag values in a program?

1126


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 .

2508


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

1167


What is the use of define in c?

1103


What is the method to save data in stack data structure type?

1147


How to write a multi-statement macro?

1101


Why is it important to memset a variable, immediately after allocating memory to it ?

2133


Explain 'far' and 'near' pointers in c.

1188


What is printf () in c?

1146