fork download
  1. #include<stdio.h>
  2.  
  3. int main() {
  4. char num = '3';
  5. printf("|%c|%d|%c|%d|", num - 48, num - 48, num, num);
  6. }
  7.  
  8. //https://pt.stackoverflow.com/q/296476/101
Success #stdin #stdout 0s 4376KB
stdin
Standard input is empty
stdout
||3|3|51|