#include <stdio.h> int main() { char str[20]; printf("Bitte geben etwas ein: "); scanf("%19[^xyz]", str); printf("%s\n", str); return 0; }