suraj kumar

how to declare function in c...?


give me anwers in two line


2019-09-12 13:49:59

Your Answer This

petter john

function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the most trivial programs can define additional functions.

 

You can divide up your code into separate functions. How you divide up your code among different functions is up to you, but logically the division is such that each function performs a specific task.

 

A function declaration tells the compiler about a function's name, return type, and parameters. A function definition provides the actual body of the function.

2019-09-12
Kidami Kd

C functions are basic building blocks in a program. All C programs are written using functions to improve re-usability, understandability and to keep track on them. You can learn below concepts of C functions in this section in detail.

https://fresh2refresh.com/c-programming/c-function/

2019-09-12
priyanshu mishra

2019-12-02
priyanshu mishra

2019-12-02
priyanshu mishra

 

C functions are basic building blocks in a program. All C programs are written using functions to improve re-usability, understandability and to keep track on them. You can learn below concepts of C functions in this section in detail.

2019-12-02
Response this asnwer Please login to answer this question or answer by facebook comment..