#include<stdio.h>
#include<string.h>
int main() {
char words[100]="hello hell world";
char receive[100]={0};
int i, k;
// strstr
scanf("%s", receive);
k = strlen(words);
for(i=0; i<strlen(words); i++) {
printf("%c : Address(%p)\n", words[i], &words[i]);
}
if(strstr(words, receive)) {
printf("INVITE ");
printf("%p\n\n", strstr(words, receive));
}
strcpy(words, "BYE");
words[3] = '-';
printf("%s\n", words);
for(i=0; i<k; i++) {
printf("%c(%d) : Address(%p)\n", words[i],words[i], &words[i]);
}
}