我有一个程序显示“hi”,但我不理解原因。
我了解scanf和printf都会返回它们读/写的字符数,但在这种情况下它是如何工作的?
void main()
{
if(printf==scanf)
printf("hello");
else
printf("hi");
}