void ft_rev_int_tab(int *tab, int size)
{
        int     idx;
        int     temp;

        idx = 0;
        while (idx <= size / 2)
        {
                temp = tab[idx];
                tab[idx] = tab[size - 1 - idx];
                tab[size - 1 - idx] = tab[idx];
                idx++;
        }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: