Decrement operator in c/c++ | after the variable | different lines

main() {
int var=4;
var--;
Printf(“%d”,var);
}
Tutorial answer: 3
Debugging solution:It is similar to the pervious one But in these assign operation and decrement operation happened in different line. In the line 4:it assign valueline5:it decrease the value

Related post