-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathft_swap.c
More file actions
20 lines (18 loc) · 962 Bytes
/
Copy pathft_swap.c
File metadata and controls
20 lines (18 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_swap.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: gfoote <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/01/31 12:22:47 by gfoote #+# #+# */
/* Updated: 2019/02/05 17:33:24 by gfoote ### ########.fr */
/* */
/* ************************************************************************** */
void ft_swap(int *a, int *b)
{
int c;
c = *a;
*a = *b;
*b = c;
}