Home > Back-end >  Int constant and char constant to add and subtract, consult, this is how operation?
Int constant and char constant to add and subtract, consult, this is how operation?

Time:02-06

CodePudding user response:

The building Lord see ASCLL code, the variable b treatment into ASCLL code here

CodePudding user response:

'4' into int is its ASCII

CodePudding user response:

Char into plastic, calculated at ASCII

CodePudding user response:

Char will be converted to int operations, according to the ASCII table, '4' corresponding decimal value is 52, the results of 8-52=- 44

CodePudding user response:

You need to understand the ASCII code

CodePudding user response:


Directly above

CodePudding user response: