échange variable en c
// swap variables in C
void swap(int *x, int *y){
int temp = *x;
*x = *y;
*y = temp;
}
swap(&a, &b); // address of a and b
V _VITHURSHAN
// swap variables in C
void swap(int *x, int *y){
int temp = *x;
*x = *y;
*y = temp;
}
swap(&a, &b); // address of a and b
// swap variables in C
void swap(int *x, int *y){
int temp = *x;
*x = *y;
*y = temp;
}
swap(&a, &b); // address of a and b