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

Can we write a program without main() function?

Answer Posted / samarth

yes, we can write C programs , without main() functions.
though they are not the kind of programs we use in everyday
life .For example linux kernel source code do not have any
main() function.

for details u can visit :

http://samarthonweb.blogspot.com/2009/08/c-programe-with-no-main-function.html

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you mix old-style and new-style function syntax?

1052


all c language question

2381


What is #ifdef ? What is its application?

1057


What is difference between structure and union in c programming?

1021


Which is more efficient, a switch statement or an if else chain?

972


In C language what is a 'dangling pointer'?

1065


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

1094


Explain the ternary tree?

969


Can we use visual studio for c?

1013


exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above

1073


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2281


what is the format specifier for printing a pointer value?

974


Is void a keyword in c?

927


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1146


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2345