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

main is a predefined or user define function
if user defined why?
if predefined whay?

Answer Posted / vilas soni++

main() is predefined function, coz we can't change it's
prototype....
We can only implement it.... And we have to use main() in
our program coz it's "Entry Point" to any C program....

(We can say userdefined, if we can also define it's
prototype and name, and in this case we can't!, we can use
only available types of main()....)

Is This Answer Correct ?    10 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how can I remove the trailing spaces from a string?

1101


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

1095


How is null defined in c?

1200


How to implement a packet in C

2929


#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }

1321


what are the advantages of a macro over a function?

1191


What is the explanation for prototype function in c?

1029


Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.

3226


What is #include stdio h and #include conio h?

1173


Explain what does a function declared as pascal do differently?

1341


How can I do peek and poke in c?

1135


What is a structure in c language. how to initialise a structure in c?

1115


What does the characters “r” and “w” mean when writing programs that will make use of files?

1540


In c programming typeing to occupy the variables in memory space. if not useing the variable the memory space is wasted.ok, how to avoid the situation..? (the variable is used & notused)

2171


What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?

1101