Hi guys, I've read about return and didn't understand that much about its functionally in C programming .
what's confusing me is that if I have code after return function then the PC will neglect all the code rows that're found after return function, so how the PC neglect them if they are instructions in my program?
I mean for instanct like this -
Code:
/*code1 does something*/
return 0;
/*code2 does something else*/
so what's found after return 0 is neglected , so how the PC is neglect them although there're instruction-code- in the program itself? really weird, so /*code2 does something else*/ is trash , what does that mean how the PC neglects them although they are code found in the program which means they are instructions that must be executed? thanks.