Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  int a; //This is a number
  char b; //This is a char.
  void * c; //This is a pointer.
  x=*((int*)a); //This is a void pointer cast to a number.


The [edit] link disappeared on me, or I would just correct the last 'a' to a 'c'.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: