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 main() function predfined or userdefined?

Answer Posted / nara venkata satyanarayana

First we should know whether main() belongs to C/C++ or
java. If it is in C/C++ it is "user-defined" because not
available in any header file and body defined by user, but
compiler will starts body execution from main() function
only. But in java without main() also we can execute
programs and get output eg:-using static blocks.
Here also it is "user-defined" one.

Is This Answer Correct ?    9 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how logic is used

2022


Can you assign a different address to an array tag?

1209


What is the maximum length of an identifier?

1231


What does 2n 4c mean?

1308


write a program to create a sparse matrix using dynamic memory allocation.

4952


What is file in c preprocessor?

1194


Why clrscr is used after variable declaration?

1760


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

1146


Why is it that not all header files are declared in every C program?

1280


What is difference between structure and union in c?

1034


List out few of the applications that make use of Multilinked Structures?

2257


What are loops in c?

1064


What is actual argument?

1100


What should malloc() do?

1216


Write a program to print fibonacci series without using recursion?

1215