Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
なぜこの行は3ではなく17を印刷するのですか?
printf("%d" ,0x11);
0x11は16進数(基数16)の数値であり、11(16進数)は17 (decimal)と同じです。
0x11
11
17
0xバイナリリテラルではなく、16進リテラルを導入するためです。
0x