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

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

Related post