c - What is the difference between execution and evaluation? -


we expresssions "evaluate" values , statement orders computer "execute". me seems same terminology. difference between execution , evaluation in c?

when statement executed comes action of evaluation of expressions. first execution takes place , evaluation.

in snippet

int = 5, j; j = 10 + 5*i; 

when statement j = 10 + 5*i; executed evaluation of expressions j, 10, 5*i, 10 + 5*i , j = 10 + 5*i takes place. note first 3 can evaluated in order.


Comments