fork download
  1. #include <stdio.h>
  2.  
  3. struct
  4. {
  5. void (*print)(const char*, ...);
  6. } Serial = {printf};
  7.  
  8. int main(void) {
  9. Serial.print("%d", 1);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
1