Guest User

Untitled

a guest
Jan 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. int main(void)
  2. {
  3. int n = 1;
  4. int m = 2;
  5. int *i;
  6. int *j;
  7. i = &n;
  8. j = &m;
  9.  
  10. ft_swap(i, j);
  11.  
  12. if (*i == 2 && *j == 1)
  13. {
  14. char n = 't';
  15. write(1, &n, 1);
  16. }
  17. else
  18. {
  19. char n = 'f';
  20. write(1, &n, 1);
  21. }
  22. }
Add Comment
Please, Sign In to add comment