Types questions in ANSI C
Posted
by shaharg
on Stack Overflow
See other posts from Stack Overflow
or by shaharg
Published on 2010-04-15T10:33:15Z
Indexed on
2010/04/15
10:53 UTC
Read the original article
Hit count: 228
c
Hi, I having few questions about typed in ANSI C: 1. what's the difference between "\x" in the beginning of a char to 0x in the beginning of char (or in any other case for this matter). AFAIK, they both means that this is hexadecimal.. so what's the difference.
- when casting char to (unsigned), not (unsigned char) - what does it mean? why (unsigned)'\xFF' != 0xFF?
Thanks!
© Stack Overflow or respective owner