Computer Science, asked by SANJAYSAHU, 1 year ago

Definition of return statement in c...?

Answers

Answered by pradhyumn2910p0zpyu
1
In c a return statement is used to return a value according to the return type mentioned.

Ex. A function is like char fun1();

In this function the return type is 'char' means the function will return a character type value after its completion.

In our main function we write return 0, this statement tells the system that program has successfully executed.
Similar questions