SELF Exam Programming

What will be the output
main()
{
if(1,0)
{
printf("True");
}
else
{
printf("False");
}
}

Read Solution (Total 3)

SELF Other Question

What will be the output
main()
{
int i;
i = 10;
if(i == 20 || 30)
{
printf("True");
}
else
{
printf("False");
}
}
What will be output of following program?
#include
int main()
{
int a = 320;
char *ptr;
ptr = (char *)&a;
printf("%d",*ptr);
return 0;
}