#include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { if( strcmp(argv[1], "test") ) { printf("Incorrect password\n"); } else { printf("Correct password\n"); } return 0; }
#include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { char a[]="test"; if( strcmp(argv[1], a) ) { printf("Incorrect password\n"); } else { printf("Correct password\n"); } return 0; }
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
char *a = "text";