13 lines
126 B
C
13 lines
126 B
C
|
#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;
|
||
|
}
|