Adm1n_0v3rride

pointer program

Dec 26th, 2017
108
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // pointer program in C (C) 2017
  2. #include <stdio.h>
  3. #include <stdlib.h>
  4.  
  5. int main() {
  6.    
  7.     char *a,*b,*c,*d;
  8.    
  9.     printf("The pointer points to:\t%p\n",&a);
  10.     printf("The pointer points to:\t%p\n",&b);
  11.     printf("The pointer points to:\t%p\n",&c);
  12.     printf("The pointer points to:\t%p\n",&d);
  13.     return 0;
  14. }
RAW Paste Data