main is a predefined or user define function
if user defined why?
if predefined whay?
Answer Posted / s.s.venkatesh
the main() is a predefined function because we can't change
the name of the function or characterstics of the function.
If the function is user defined means we can change the
name of the function as we wish.
So,the main() is a predefined function.
| Is This Answer Correct ? | 20 Yes | 21 No |
Post New Answer View All Answers
How do you do dynamic memory allocation in C applications?
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What do you mean by invalid pointer arithmetic?
write a c program in such a way that if we enter the today date the output should be next day's date.
The file stdio.h, what does it contain?
What does typedef struct mean?
Why are all header files not declared in every c program?
What is the stack in c?
What are the types of arrays in c?
Can you mix old-style and new-style function syntax?
How reliable are floating-point comparisons?
Differentiate between #include<...> and #include '...'
#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); }
a program that can input number of records and can view it again the record
Is there a way to jump out of a function or functions?