C--> Why isn't the compound assignment taken into account when displaying the latter 'tot'? :     

#include <stdio.h>

main(){

int pro;

int dot;

int tot; 

char prelude[] = "\nNow we shall do some simple mathematics\n\n";

printf("%s", prelude);

pro = 3;

dot = 5;

tot = pro + dot;

printf("%d", tot);

dot += 23;

printf("\n%d\n", tot);

return 0;}

    



