which header file contains main() function in c?
Answer Posted / sarita
main is not included in any header file
It is generally the first user-written function run when a
program starts .
main() is a function called by another function, which is
the start-routine. This routine is created by the compiler .
If you can write your own compiler, then you can think of
changing main() to your name itself!
ANSI compliant compilers need main() as the starting point.
Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
Write a program to swap two numbers without using the third variable?
Is c a great language, or what?
Explain what is wrong with this statement? Myname = ?robin?;
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
Design a program which assigns values to the array temperature. The program should then display the array with appropriate column and row headings.
Why static variable is used in c?
Explain what is meant by 'bit masking'?
What is graph in c?
Which header file is used for clrscr?
Why c is called top down?
Write program to remove duplicate in an array?
What is a program?
What do the functions atoi(), itoa() and gcvt() do?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Explain what is the heap?