From The Compiler, 5 Years ago, written in C.
Embed
  1. #include <stdint.h>
  2. #include <stdio.h>
  3.  
  4. void func(unsigned char val)
  5. {
  6.     printf("%d", val);
  7. }
  8.  
  9. int main(void)
  10. {
  11.     unsigned int x = 12345;
  12.     func(x);
  13.     return 0;
  14. }
  15.