Home > other >  Char constant string string?
Char constant string string?

Time:10-16

I have withered...
, ladies and gentlemen, this is what's going on?

CodePudding user response:

Variable dat is unsigned char types, eight, dat is not equal to 48200, but is equal to 72, the original poster to learn C language well first,

CodePudding user response:

First of all unsigned char types of dat how can 48200? 8-bit unsigned is 127 overflow, second, do you want to put an output data into string, suggest check the sprintf and snprintf function, you will watch it and you know no such trouble,

CodePudding user response:

Try the method of look-up table
  • Related