eg0rmaffin

zagotovochka_pod_00

Jul 4th, 2019
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.52 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void putint(int a)
  4. {
  5.     printf("%i    ", a);
  6. }
  7.  
  8. //    int main()
  9. //    {  
  10. //    int A;
  11. //    int* ptA;
  12.    
  13. //    ptA = &A;
  14. //    *ptA = 42;
  15. //    putint(*ptA);
  16. //    }
  17.  
  18.  
  19.  
  20.  
  21. int        main(int *nbr);
  22.  
  23. int        main(int *nbr)
  24. {
  25.     int A;
  26.     int* ptA;
  27.    
  28.     ptA = &A;
  29.     *ptA = 42;
  30.    
  31.     putint(*ptA);
  32. }
  33.  
  34.  
  35.  
  36. //void        ft_ft(int *nbr);
  37. //void        ft_ft(int *nbr);
  38. //void        ft_ft(int *nbr);
  39. //void        ft_ft(int *nbr);
  40. //void        ft_ft(int *nbr);
Advertisement
Add Comment
Please, Sign In to add comment