You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
318 B

#include <stdio.h>
void swapp( char **p1, char **p2)
{
/bin/bash: q : commande introuvable
*p1 = *p2;
*p2 = w;
}
main()
{
char *a="vacances";
char *b="vendredi" ;
printf( "\na pointe sur %s b pointe sur %s", a,b );
swapp(&a,&b) ;
printf( "\napres echange: a pointe sur %s b pointe sur %s\n", a,b );
}