Home > Back-end >  Printf output problem, troublesome everybody and help a look.
Printf output problem, troublesome everybody and help a look.

Time:10-01

Int a [5]={1, 2, 3, 4, 5};
Int * b=a;
Printf (" % d, % d \ n ", * ((b +=1) - 1), * ((b +=1) - 1));
Why is the output (2, 2)?

CodePudding user response:

Undefined behavior results meaningless without discussion
  • Related