"stop" は文字というよりも、文字列ですね。
コード:
#include <stdio.h> // scanf, puts, (printf)
#include <stdlib.h> // exit
#include <string.h> // strcmp
int main(void)
{
char word[256];
while (scanf("%255s", word) == 1) {
if (strcmp(word, "stop") == 0) exit(1);
puts(word); // printf("%s\n", word);
}
return 0;
}