fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. printf("3の文字コードは10進数=%d, 16進数=%x\n",'3','3');
  5. printf("!の文字コードは10進数=%d, 16進数=%x\n",'!','!');
  6. printf("Mの文字コードは10進数=%d, 16進数=%x\n",'M','M');
  7.  
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
3の文字コードは10進数=51, 16進数=33
!の文字コードは10進数=33, 16進数=21
Mの文字コードは10進数=77, 16進数=4d