is there places is wrong?Code:#include <stdio.h>
int main(){
char pass[9], password[9],basketball;
int keepalive=0;
password[9] =basketball;
printf("Enter your password:");
scanf("%s", &pass[9]);
if (pass[9] == password[9])
{
printf("ACCESS GRANTED\n");
}
else
{
printf("ACCESS DENIED\n");
}
scanf("%d", keepalive); // keeps the program running
}
the statement look correct to me.