which header file contains main() function in c?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you allocate arrays or structures bigger than 64K?

687


What is difference between far and near pointers?

614


What is bubble sort technique in c?

594


What does c in a circle mean?

585


In a switch statement, explain what will happen if a break statement is omitted?

641






How to write a code for reverse of string without using string functions?

1583


What is a nested formula?

609


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

720


What is a structural principle?

645


Can we change the value of constant variable in c?

580


Explain setjmp()?

661


write a program to create a sparse matrix using dynamic memory allocation.

4375


What does & mean in scanf?

606


Why does not c have an exponentiation operator?

631


What is a 'null pointer assignment' error?

728