include string int main void char text 1111222223333 aaaa char index t

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#include <string.h>
int main(void) {
char text[] = "1111222223333!aaaa";
char *a = index(text,'!');
puts(a);
strcpy(a,"!bbb");
puts(text);
return 0;
}