RosettaCodeData/Task/Gotchas/C/gotchas-12.c
2025-02-27 18:35:13 -05:00

4 lines
188 B
C

int x = 3;
int y = 5;
printf("%d %d %x\n",x,y); /* this may crash or print undefined values after 3 5 */
printf("testing %n\n"); /* this writes the int value 8 to an undefined location */