#include <stdio.h>
#include <string.h>
int main(void){
char buf[256];
printf("Input string: ");
scanf("%s", buf);
if (strcmp(buf, "hoge") == 0){
printf("buf == hoge\n");
printf("buf: %s\n", buf);
}
else{
printf("buf != hoge\n");
printf("buf: %s\n", buf);
}
return 0;
}