c_piscine__offshore_mains/c00_ex07.c

26 lines
445 B
C
Raw Normal View History

2023-11-21 19:10:07 +00:00
void ft_putnbr(int);
void ft_putchar(char);
int main(void)
{
ft_putnbr(0xEFFFFFFF);
ft_putchar('\n');
ft_putnbr(-7141);
ft_putchar('\n');
ft_putnbr(-1);
ft_putchar('\n');
ft_putnbr(0);
ft_putchar('\n');
ft_putnbr(42);
ft_putchar('\n');
ft_putnbr(421);
ft_putchar('\n');
ft_putnbr(1945);
ft_putchar('\n');
ft_putnbr(0xDEAD);
ft_putchar('\n');
ft_putnbr(0xBADF00D);
ft_putchar('\n');
ft_putnbr(0x7FFFFFFF);
ft_putchar('\n');
}