#include <unistd.h>
#include <stdio.h> // delete
void ft_ft(int *nbr);
void ft_ft(int *nbr)
{
*nbr = 42;
}
int main(void)
{
int *ptr; //declare a ptr
int value; //declare an int (no val)
ptr = &value; //make ptr to the adr of val
ft_ft (ptr);
printf("%d", *ptr); //delete
return (0);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: