Whenever i put the correct int number instead of printing Correct its Print Invalid.
int main(void)
{
int number = 042646;
int pass;
printf("Enter the PIN.\n");
scanf("%d", &pass);/*enter code here*/
if (pass == number)
{
printf("Correct\n");
}
else
{
printf("Invalid\n");
}
}