-
Notifications
You must be signed in to change notification settings - Fork 0
/
ft_swap_int.c
executable file
·20 lines (18 loc) · 972 Bytes
/
ft_swap_int.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_swap_int.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: akharrou <akharrou@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/02/25 11:20:04 by akharrou #+# #+# */
/* Updated: 2019/02/25 11:21:34 by akharrou ### ########.fr */
/* */
/* ************************************************************************** */
void ft_swap_int(int *a, int *b)
{
int tmp;
tmp = *a;
*a = *b;
*b = tmp;
}