fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char c;
  5. scanf("%c",&c);
  6. printf("%c\n",c);
  7. printf("%d\n",c);
  8.  
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5324KB
stdin
A
stdout
A
65