fork download
  1. #include <stdio.h>
  2.  
  3. void strange_step(void* value)
  4. {
  5. if(*(int*)(value+5) == 15)
  6. printf("4: Illinois\n");
  7. else
  8. printf("4: ERROR\n");
  9. }
  10.  
  11. int main(void) {
  12. char data[32];
  13. *((int*)&data[5]) = 15;
  14. strange_step(data);
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
4: Illinois