Computer Science, asked by dharishan58, 6 months ago

Define:
1) Header file
2) Main function
3)variable declaration
4)Body of the function
in c program ​

Answers

Answered by jackiemehra20
2

1) Header file :- A header file is a file with extension . h which contains C function declarations and macro definitions to be shared between several source files.

2) Main function :- the main function is where a program starts its execution.

3) Variable declaration :- A declaration of a variable is where a program says that it needs a variable. For our small programs, place declaration statements between the two braces of the main method.

4 ) Body of the function :- The return type is the data type of the value the function returns. Some functions perform the desired operations without returning a value.

HOPE IT WILL HELP YOU☜

Answered by gauripagade20
2

Answer:

ok

Explanation:

like and follow

answer...

1 - A header file is a file containing C declarations and macro definitions (see Macros) to be shared between several source files.Each time you have a group of related declarations and macro definitions all or most of which are needed in several different source files, it is a good idea to create a header file for them is called Header file.

2-The main function serves as the starting point for program execution. It usually controls program execution by directing the calls to other functions in the program. A program usually stops executing at the end of main, although it can terminate at other points in the program for a variety of reasons is called main function.

like

follow me

Similar questions