scanf and print output %c code example Example: c printf scanf int a; scanf("%d", &a); printf("%d", a);