fork(8) download
  1. void const_is_a_lie(const int* n)
  2. {
  3. *((int*) n) = 0;
  4. }
  5.  
  6. #include <stdio.h>
  7. int main()
  8. {
  9. const int n = 1;
  10. const_is_a_lie(&n);
  11. printf("%d", n);
  12. return 0;
  13. }
Success #stdin #stdout 0s 2884KB
stdin
Standard input is empty
stdout
1