which header file contains main() function in c?

Answers were Sorted based on User's Feedback



which header file contains main() function in c?..

Answer / a

if it is just a naming convention then how can it have
return type and arguement like a function...

plz don't misguide the ppls

Is This Answer Correct ?    0 Yes 1 No

which header file contains main() function in c?..

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

which header file contains main() function in c?..

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

which header file contains main() function in c?..

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

which header file contains main() function in c?..

Answer / guest

stdio header file

Is This Answer Correct ?    3 Yes 14 No

which header file contains main() function in c?..

Answer / guest

#include<stdio.h>

Is This Answer Correct ?    15 Yes 27 No

which header file contains main() function in c?..

Answer / vignesh1998i

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

Post New Answer

More C Interview Questions

What is wrong with this program statement?

0 Answers  


What is sparse file?

1 Answers  


why ordinary variable store the later value not the initial

1 Answers  


What is oops c?

0 Answers  


What is the difference between printf and scanf in c?

0 Answers  






What is the purpose of sprintf() function?

0 Answers  


Linked list is a Linear or non linear explain if linear how it working as a non linear data structures

0 Answers  


helllo sir give me some information of the basic information the c as printf ,scanf , %d ,%f and why is the main use of these.

3 Answers  


Which function in C can be used to append a string to another string?

0 Answers  


Program to find the value of e raised to power x using while loop

5 Answers   IBM, N Tech,


Why void main is used in c?

0 Answers  


Is c procedural or object oriented?

0 Answers  


Categories