c_piscine__offshore_mains/c01/ex02.c

21 lines
235 B
C
Raw Permalink Normal View History

2023-11-22 15:59:54 +00:00
#include <stdio.h>
void ft_swap(int *a, int *b);
int main(void)
{
int one = 1;
int two = 2;
printf("was %d %d\n", one, two);
ft_swap(&one, &two);
printf("now %d %d\n", one, two);
}
void setUp(void)
{
}
void tearDown(void)
{
}