I tried this and it didn't work
char passEntry[10], password[] = "abc";
printf ("Enter password");
scanf ("%s", passEntry);
if passEntry==password
{
printf ("Access Granted");
}
I tried this and it didn't work
char passEntry[10], password[] = "abc";
printf ("Enter password");
scanf ("%s", passEntry);
if passEntry==password
{
printf ("Access Granted");
}