fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a = 10, b = 20;
  5. printf("%d %d\n", a, b); // > 10
  6. scanf("%d %d", &a, &b); // a = 123
  7. printf("%d %d", a, b); // > 123
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5336KB
stdin
123 456
stdout
10 20
123 456