fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int ID = 10;
  5. void *data = &ID;
  6.  
  7. printf("%d",*(int*)(data));
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
10