fork download
  1. // %u or %lu, if %zd does not work
  2. #include <stdio.h>
  3. int main(void)
  4. {
  5. int pidaron = 3;
  6. int nonpidaron[] = {1, 2, 4, 5};
  7. printf("adress of pidaron is %p\n", &pidaron);
  8. printf("Pidaron! Выйди вон! %d\n", nonpidaron[-1]);
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0s 2168KB
stdin
Standard input is empty
stdout
adress of pidaron is 0xffaa409c
Pidaron! Выйди вон! 0