#include <stdio.h>
void swap(char **s1, char **s2)
{
char *temp;
temp = *s1;
*s1 = *s2;
*s2 = temp;
}
int main() {
char *s1 = "aissam";
char *s2 = "abouqassime";
swap(&s1, &s2);
printf("%s\n", s1);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: