Code Snippets C

#include
#include
int main ()
{
char szKey[] = "Superman";
char szInput[80];
do {
printf ("Which is my favourite movie? ");
gets (szInput);
} while (strcmp (szKey,szInput) != 0);
printf ("Correct answer!\n");
return 0;
}