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 / ramabrahmam

hi adesh,
your logic is not suited to numbers.
suppose, if we write "printf" as
for two integers a,b
printf("sum of a and b is",a+b);
for this statement it only displaying the letters
within the double quotes.i.e., sum of a and b is .
it is not displaying anything after that.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is stack in c?

1036


How is a null pointer different from a dangling pointer?

985


What is difference between scanf and gets?

1191


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1104


What do you mean by a local block?

1048


Is main an identifier in c?

1105


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

992


what do you mean by enumeration constant?

971


Explain the properties of union.

1035


Explain modulus operator.

1016


What is a function simple definition?

1049


What is calloc() function?

1064


What is echo in c programming?

979


What is the use of extern in c?

1066


What is the return type of sizeof?

1036