fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int s[2]={1.2};
  6. int *p;
  7. p=s+1;
  8. printf("%d",p[2]);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5268KB
stdin
Standard input is empty
stdout
Standard output is empty