Search code examples
putchar

Opposite of putchar()?


Is there an opposite to putchar() where you can pass the ascii character and it will output the numerical value? Thanks.


Solution

  • printf("%d\n", c);