Advertisement
Dido09

Ukazateli

Mar 8th, 2022
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. void *pv;
  7.  
  8. int i = 10;
  9. double d = 2.34;
  10.  
  11. pv = &i;
  12.  
  13. printf("%d", *((int*)pv));
  14.  
  15.  
  16. return 0;
  17. }
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement