Hi,
main()
{
}

Is a user defined function or Built in Functionn

Answer Posted / eklavya sharma

main is a kind of function which is a user defined function for the C compiler developer and it is built in or predifined function to the users using that compiler. The prototype has already been defined in the compiler itself we the users can't change the meaning of that unless or until we write our own compiler.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can’t constant values be used to define an array’s initial size?

960


Where is c used?

733


What is a constant?

712


Why dont c comments nest?

705


Explain the difference between structs and unions in c?

667






#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

712


Can we assign string to char pointer?

678


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

1698


What are different types of operators?

685


What are the advantages of the functions?

714


List the difference between a "copy constructor" and a "assignment operator"?

677


Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

711


Why is python slower than c?

705


When should volatile modifier be used?

654


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

4073