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

Why is main function so important?

1087


What is the g value paradox?

1153


Explain what are the standard predefined macros?

1101


What is the use of bit field?

1167


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

1231


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1223


Explain how do you generate random numbers in c?

1071


What is the significance of an algorithm to C programming?

1032


What is the purpose of sprintf() function?

1101


What are the different types of endless loops?

1058


How to draw the flowchart for structure programs?

9323


Explain what will the preprocessor do for a program?

1050


Explain what is the concatenation operator?

1149


int i=10; printf("%d %d %d", i, i=20, i);

1606


Write a program to print factorial of given number without using recursion?

979