fork download
  1. #include <stdio.h>
  2.  
  3. int *p;
  4.  
  5. int main(){
  6. p = (int [3]){1,2,3};
  7. printf("%p %d\n", (void*)p, p[1]);
  8. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
0xbfac9784 2