why after the running of return keywords, no more line of codes is executable ??
Answers
Answered by
1
Answer:
return(0); // logical end of the program. So in C++ and other similar languages, the return statement is used to stop the execution of the program when in main( ). While we can only have one physical end (e.g. end or closing brace) of the program, we can have one or more logical ends or return statements.
Answered by
1
Answer:
logical end of the program. So in C++ and other similar languages, the return statement is used to stop the execution of the program when in main( ). While we can only have one physical end (e.g. end or closing brace) of the program, we can have one or more logical ends or return statements.
Similar questions