#include #include int main(int argc, char ** argv) { if(argc < 2){ printf("No password given!\n"); return 0; } char session_password[] = "rabbit"; char given_password[24]; strcpy(given_password, argv[1]); if(!strncmp(given_password, session_password, strlen(session_password))) printf("Correct!\n"); else printf("Wrong password, sorry!\n"); // These are commented out in the compiled version printf("%s\n", given_password); printf("%s\n", session_password); return 0; }