first commit
This commit is contained in:
10
ended/C01/ex02/ft_swap.c
Normal file
10
ended/C01/ex02/ft_swap.c
Normal file
@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
void ft_swap(int *a, int *b)
|
||||
{
|
||||
int f;
|
||||
|
||||
f = *a;
|
||||
*a = *b;
|
||||
*b = f;
|
||||
}
|
Reference in New Issue
Block a user