Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void putint(int a)
- {
- printf("%i ", a);
- }
- // int main()
- // {
- // int A;
- // int* ptA;
- // ptA = &A;
- // *ptA = 42;
- // putint(*ptA);
- // }
- int main(int *nbr)
- {
- int a = 3;
- ft_ft(&a);
- putint(a);
- }
- void ft_ft(int *nbr)
- {
- int* ptA;
- ptA = nbr;
- *ptA = 42;
- }
- //void ft_ft(int *nbr);
- //void ft_ft(int *nbr);
- //void ft_ft(int *nbr);
- //void ft_ft(int *nbr);
Advertisement
Add Comment
Please, Sign In to add comment