fork download
  1. const int a = 1;
  2.  
  3. void *x;
  4.  
  5. void f(void)
  6. {
  7. *(int *)x = 3;
  8. *(int *)x = 4;
  9. *(int *)x = 5;
  10. }
  11.  
  12. int main(){
  13. x = &a;
  14. f();
  15. }
  16.  
Runtime error #stdin #stdout 0.01s 1716KB
stdin
Standard input is empty
stdout
Standard output is empty