Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / govind
=> The main function serves as the starting point for
program execution.
=> It usually controls program execution by directing the
calls to other functions in the program.
=> A program usually stops executing at the end of main,
although it can terminate at other points in the program
for a variety of reasons.
=> 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. See the Run-Time Library Reference
for information on and an example using the exit function.
so that
main() is a user defined function. it is the entry point of
any program.
| Is This Answer Correct ? | 10 Yes | 5 No |
Post New Answer View All Answers
difference between native and cross compilers
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?
Are bit fields portable?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
What is difference between structure and union?
In a byte, what is the maximum decimal number that you can accommodate?
What is merge sort in c?
List some of the static data structures in C?
What is the method to save data in stack data structure type?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
What library is sizeof in c?
Why is c used in embedded systems?
What is echo in c programming?