1
0
This repository has been archived on 2024-10-25. You can view files and clone it, but cannot push or open issues or pull requests.
42-1st-piscine/ended/C01/ex04/ft_ultimate_div_mod.c

13 lines
126 B
C
Raw Normal View History

2023-08-06 20:12:38 +02:00
#include <stdio.h>
void ft_ultimate_div_mod(int *a, int *b)
{
int f;
int g;
f = *a;
g = *b;
*a = f / g;
*b = f % g;
}