int8_t is an 8 bit signed type, the most significant bit of which is responsible for the sign of a number. The loop will end after seven iterations, as the most significant bit is set to one. Therefore, a will be 7. int8_t is defined in stdint.h https://en.wikipedia.org/wiki/Stdint.h
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати