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

how to write a c program to print list of fruits in alpabetical order?

2306


Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays

2364


What is boolean in c?

1098


What is string length in c?

1110


What are dangling pointers in c?

1247


Why does the call char scanf work?

1213


What is c definition?

1283


What are high level languages like C and FORTRAN also known as?

1176


Explain what is the advantage of a random access file?

1126


c language supports bitwise operations, why a) 'c' language is system oriented b) 'c' language is problem oriented c) 'c' language is middle level language d) all the above

1053


Describe how arrays can be passed to a user defined function

1300


what is a constant pointer in C

1186


about c language

2027


What is difference between array and structure in c?

1199


How we can insert comments in a c program?

1135