— Becouse 's' isn't in decimal number system
Well yes but actually no.Ofc it is stored as a 1-byte number, but when you start work with streams a lot of changes
— They have integer representations. But still are their own data type yes
— Ok, so what should i do to transfer 's' to integer. I don't know how to implement my idea in code
— Read as char
— Further i should work with code by integers in matrix.
— And output is in integers
— So, which number in decimal system 's' represents?
— I got the point, thanks.
— If im not wrong, c uses ascii
— However you can write it in decimal using %d in printf easily
— You're right