#include<stdio.h>
int main()
{
char ch;
if(ch = printf(""))
printf("It matters\n");
else
printf("It doesn't matters\n");
return 0;
}
Here according to me,
the expression inside "if" will be true becoz we have used "=" sign and not "==" sign.
but the output is "It doesn't matters".how is it so?