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
Why can’t constant values be used to define an array’s initial size?
Where is c used?
What is a constant?
Why dont c comments nest?
Explain the difference between structs and unions in c?
#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); }
Can we assign string to char pointer?
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
What are different types of operators?
What are the advantages of the functions?
List the difference between a "copy constructor" and a "assignment operator"?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Why is python slower than c?
When should volatile modifier be used?
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