c_piscine__offshore_mains/c01/ex01.c

30 lines
399 B
C
Raw Permalink Normal View History

2023-11-22 15:59:54 +00:00
#include <stdio.h>
void ft_ultimate_ft(int *********nbr);
int main(void)
{
int n = -666;
int *j1 = &n;
int **j2 = &j1;
int ***j3 = &j2;
int ****j4 = &j3;
int *****j5 = &j4;
int ******j6 = &j5;
int *******j7 = &j6;
int ********j8 = &j7;
int *********johnny = &j8;
printf("was %d\n", n);
ft_ultimate_ft(johnny);
printf("now %d\n", n);
}
void setUp(void)
{
}
void tearDown(void)
{
}