If condition in the printf statement in c/c++-1

void main()
{
int a=4,b=6;
printf(“%d”,a==b)
}
Tutorial answer;
0
Debugging solution:
a==b ,it is false because 4 is not equal to 6, so it will print 0

Post a Comment

0 Comments