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

Hi,
main()
{
}

Is a user defined function or Built in Functionn

Answer Posted / amit jha

1. main() itself is a predefined function.

where as main() is a userdefined function because there we
are writing the internal part.

2. it is an inbuilt function i.e, main() it indicates the
starting of the program and it is a user defined function
when the user defines it as void main() or int main(void).

3. A program usually stops executing at the end of main,
although it can terminate at other points in the program
At times, perhaps when a certain error is detected, you
may want to force the termination of a program. To do so,
use the exit function. so that main() is a user defined
function.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What language is lisp written in?

1325


What is restrict keyword in c?

1169


Write a programme using structure that create a record of students. The user allow to add a record and delete a record and also show the records in ascending order.

2150


Is c is a procedural language?

1130


What are pointers? What are different types of pointers?

1222


What are the benefits of c language?

1228


Do character constants represent numerical values?

1398


What is the use of putchar function?

1109


Why main is not a keyword in c?

1322


How arrays can be passed to a user defined function

1069


What is the process of writing the null pointer?

1065


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1308


Is fortran faster than c?

1082


If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?

1311


Write a program with dynamically allocation of variable.

1183