Corewar documentation 1.0.0
Loading...
Searching...
No Matches
my_swap.c File Reference

The file containing the my_swap function. More...

#include "my.h"

Functions

void my_swap (int *a, int *b)
 Swaps two integers (a) and (b)
 

Detailed Description

The file containing the my_swap function.

Author
Nicolas TORO

Function Documentation

◆ my_swap()

void my_swap ( int * a,
int * b )

Swaps two integers (a) and (b)

Parameters
aThe first integer
bThe second integer
Returns
void
Author
Nicolas TORO