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

no we can't write a program with out main function, this
function is the main function which usually help OS to kill
the process that has executed, like in JAVA main() is used
as a thread whose wqork is to kill the executed process and
mark those as GC( Garbage collection)

Is This Answer Correct ?    14 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #line in c?

972


How can I recover the file name given an open stream or file descriptor?

1046


Do character constants represent numerical values?

1293


What is the difference between strcpy() and memcpy() function in c programming?

1042


Explain what is the difference between null and nul?

1095


Explain what is the concatenation operator?

1119


When should structures be passed by values or by references?

1007


Is that possible to add pointers to each other?

1331


How a string is stored in c?

1030


Why is c called c not d or e?

1058


Does c have enums?

1045


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

2251


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1036


What is the use of printf() and scanf() functions?

1089


What is omp_num_threads?

1043