Untitled

mail@pastecode.io avatar
unknown
plain_text
18 days ago
560 B
4
Indexable
Never
void	ft_ft(int *nbr)
{
	*nbr = 42;
}

int	main(void)
{
	int	x = 0;
	ft_ft(&x);
	printf("%d\n", x);
	return (0);
}

include <stdio.h>

void	ft_ultimate_ft(int *********nbr)
{
	*********nbr = 42;
}

int	main(void)
{
	int	n;
	int	*nbr8;
	int	**nbr7;
	int	***nbr6;
	int	****nbr5;
	int	*****nbr4;
	int	******nbr3;
	int	*******nbr2;
	int	********nbr1;
	int	*********nbr;

	n = 42;
	nbr8 = &n;
	nbr7 = &nbr8;
	nbr6 = &nbr7;
	nbr5 = &nbr6;
	nbr4 = &nbr5;
	nbr3 = &nbr4;
	nbr2 = &nbr3;
	nbr1 = &nbr2;
	nbr = &nbr1;
	ft_ultimate_ft(nbr);
	printf("%d", n);
	return (0);
}
Leave a Comment