Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2014
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1.  
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4. #include <stdbool.h>
  5. #include <assert.h>
  6. #include <math.h>
  7.  
  8. int main(void){
  9.  
  10. int *p;, j;
  11.  
  12. p=&j;
  13.  
  14. woofers(p):
  15.  
  16. /*j is now 42*/
  17.  
  18. return EXIT_SUCCESS;
  19. }
  20.  
  21. void woofers(int *ptr){
  22. *ptr=42;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement