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 |
Explain the difference between the local variable and global variable in c?
What are the advantages of c preprocessor?
What is the use of a static variable in c?
Does c have circular shift operators?
How can I pad a string to a known length?
plz answer.. a program that takes a string e.g. "345" and returns integer 345
Is null a keyword in c?
How pointers are declared?
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
What is hashing in c?
What is a global variable in c?