fork download
  1. 1 #include<stdio.h>
  2. 2
  3. 3 int main(void)
  4. 4
  5. 5 {
  6. 6 char **a;
  7. 7 *a="Hello World";
  8. 8 *(a+1)="Good Night";
  9. 9
  10. 10 printf("*a=%s\n",*a );
  11. 11 printf("*(a+1)=%s\n\n",*(a+1) );
  12. 12
  13. 13 printf("Adress-a=%p\n",a );
  14. 14 printf("Adress-a+1=%p\n\n",a+1);
  15. 15
  16. 16 printf("Adress-*a=%p\n",*a );
  17. 17 printf("Adress-*(a+1)=%p\n",*(a+1) );
  18. 18
  19. 19 return 1;
  20. 20 }
  21.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:3: error: expected identifier or '(' before numeric constant
   1 #include<stdio.h>
   ^
prog.c:1:5: error: stray '#' in program
   1 #include<stdio.h>
     ^
stdout
Standard output is empty