Hi,
main()
{
}
Is a user defined function or Built in Functionn
Answer Posted / suyash kumar (c.s. 1st year ni
it is user defined function..........as if we make another
funtion say for factorial void fact() and store it in
lib fun. then apply it in program except main it work as a
funtion.........moreover we defined main as we write
instruction in it and execution take place
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
#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); }
What are register variables in c?
What is the difference between abs() and fabs() functions?
Write the Program to reverse a string using pointers.
Differentiate between calloc and malloc.
How many types of operators are there in c?
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
Why is c so important?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include
Why flag is used in c?
What is %s and %d in c?
Is the exit() function same as the return statement? Explain.
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is volatile variable in c?
What are the types of data structures in c?