Page 17
Verify that the expression getchar() != EOF
is 0 or 1.
#include <stdio.h>
int main()
{
printf("%d", getchar() != EOF);
}
Page 17
Verify that the expression getchar() != EOF
is 0 or 1.
#include <stdio.h>
int main()
{
printf("%d", getchar() != EOF);
}