How is this Working

Revision en2, by C_o_d_e__, 2023-08-22 11:01:19
int a=10;
int b=(++a)+(++a)
b is 24

Another

int a=10;
int b=(++a) + (++a) + (--a) + (++a);
b is 47

HOW BOTH IS WORKING

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English C_o_d_e__ 2023-08-22 11:01:19 104
en1 English C_o_d_e__ 2023-08-22 10:20:13 99 Initial revision (published)