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 / shankar dayal

main() function is niether predefined nor user defined function. Because if it is predefined, when program is written in main() function then given their own logic then how it is predefined. Another one if it is user defined, then we can write the any function name on the place of main(). So main() is niether a predefined nor user defined function.

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many bytes are occupied by near, far and huge pointers (dos)?

1116


What is 1d array in c?

1029


Explain how do you sort filenames in a directory?

984


How can I automatically locate a programs configuration files in the same directory as the executable?

1103


Tell us the use of fflush() function in c language?

1087


What is wrong with this initialization?

955


What are Macros? What are its advantages and disadvantages?

1092


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3183


Is c is a low level language?

1068


how many key words availabel in c a) 28 b) 31 c) 32

1011


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2579


#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }

1130


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

1109


Write a program to print fibonacci series without using recursion?

1066


I came across some code that puts a (void) cast before each call to printf. Why?

1154