return is keyword of c. When the control reaches to the return keyword it immediately terminates the execution of that function and transfer the control to the calling function.
Syntax of return statement:
Here expression is optional which has indicated by [ ].
Example:
#include
void dev();
int main(){
printf("one\n");
dev();
printf("two\n");
return 0
No comments:
Post a Comment