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 |
write a method for an array in which it can display the largest n next largest value.
Define the scope of static variables.
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
What is an expression?
What is output redirection?
implement NAND gate logic in C code without using any bitwise operatior.
Write the test cases for checking a variable having value in range -10.0 to +10.0?
the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above
Can a program have two main functions?
Write a program to print all permutations of a given string.
main() { float a=3.2e40; printf("%d",a); }
What are predefined functions in c?