Name: Anonymous 2010-04-25 18:53
int main(){
char data[2][5] = {"root", "pass"};
char holder[5];
printf("Please enter your username>");
gets(holder);
if(data[1]==holder){
printf("Correct Username");
};
return 0;
}
The problem is even if I type the correct username in it will not pass to
if(data[1]==holder){
char data[2][5] = {"root", "pass"};
char holder[5];
printf("Please enter your username>");
gets(holder);
if(data[1]==holder){
printf("Correct Username");
};
return 0;
}
The problem is even if I type the correct username in it will not pass to
if(data[1]==holder){