+ 1
Check it out why you get such strange outputs ?
3 Antworten
+ 1
Because the char value range is between (-128 to 127) or (0 to 255).
If you want it to use the ASCII table you should put "%c" instead and use a second value of less than 255.
0
Formatted input/output:
https://www.sololearn.com/learn/C/2914/?ref=app
0
That's true but can u predict the output if I assign a value greater than 255 to a char variable and print it using %d .