which header file contains main() function in c?
Answers were Sorted based on User's Feedback
Answer / mukesh
main() is pre user defined function there4 no need of header
file for it bcoz it is not a library function
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / neha
If main() is UDF,then UDF r part of the program which compile runtime but in simple program we also use ctrl+F9 to run program?give me ans pls
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / surendra nath sahoo
Hello Friends..
Actually a header file in C language only have
four things
1:typedef
2:function prototype
3:macro definations
4:external variables
And header file is required if the return type of a function
is not int.
as main function default return type is int so header file
is not required.
| Is This Answer Correct ? | 0 Yes | 2 No |
that header file will not be given or revealed to the user , since there are possibilites to manipulate it........ in that file....
thank u
| Is This Answer Correct ? | 5 Yes | 18 No |
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
what is difference between C and C++
how to find the largest element of array without using relational operater?
Explain the difference between malloc() and calloc() in c?
Why doesnt that code work?
Differentiate between the expression “++a” and “a++”?
I have seen function declarations that look like this
what is Structural oriented language? give some example of this language.....?
Stimulate calculators to perform addition,subtraction,multiplication and division on two numbers using if/else statement?
write a program to copy a string without using a string?
How can I write a function that takes a format string and a variable number of arguments?
write a addition of two no. program with out using printf,scanf,puts .