char type can be either signed or unsigned depending on the compiler. If it is signed, then the program will go into an infinite loop, since the maximum value for signed char = 127. Otherwise, the program will display "155" (of course, the behavior of the program will still depend on what maximum value can be stored in signed char, which is also not defined by the standard)
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати