fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int n = -42;
  5. printf("old n is %d\n", n);
  6. printf("foo%nbar\n", &n);
  7. printf("new n is %d\n", n);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 9424KB
stdin
Standard input is empty
stdout
old n is -42
foobar
new n is 3