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...

why we should use main in C

Answer Posted / sureshg

No, we can execute a pgm without main also, see here sorry do this pgm in your system with gcc compiler,,,,,

#include<stdio.h>
int exit(int);
{
printf("hello welcome to my answer");
exit(0);
}

while u compile this pgm type
gcc -nostartfiles filename.c

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to Migrate a project from Delphi 1 or 2 to Delphi 3 ?

1656


How to avoid an access violation when using the move procedure?

1758


How to create a console application in Kylix?

1909


what is Auto increment Build Number?

2313


Hi is there is any tool to debug Delphi ISAPI dlls in borland 2006 framework. AS i am a new to delphi borland i need a detailed description for debugging the web application in delphi as per my analysis the ISAPI dlls calling the htm files please help me ....

2267


How to Send a file via DCOM ?

1839


How to assign a file variable in a Record?

1815


How to Open an explorer window to a given folder?

1574


How to assign a Null value to a numeric field in a table?

1706


what are the different Dataset event handlers?

1697


'Translate error, value out of bounds' error what does these errors mean?

2746


How to do Sorting on Calculated fields ?

1878


How to Test IDispatch Descendants?

1915


why you want to make your future in SAP?.

2464


Write a program to show the memory leak?

915