Definition of return statement in c...?
Answers
Answered by
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.
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
Political Science,
8 months ago
India Languages,
8 months ago
Math,
1 year ago
Hindi,
1 year ago
Physics,
1 year ago