fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int *p;
  5.  
  6. printf("int is %p\n",p);
  7.  
  8. float *j;
  9.  
  10. printf("float is %p\n",j);
  11.  
  12. double *dp;
  13.  
  14. printf("double is %p\n",dp);
  15.  
  16. char *ch ;
  17.  
  18. printf("char is %p\n",ch);
  19.  
  20. j=(float *)p;
  21.  
  22. printf("cast int to float %p\n",j);
  23. return 0;
  24. }
  25.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
int is (nil)
float is (nil)
double is (nil)
char is (nil)
cast int to float (nil)