say i have a statement:
where in is some file pointer. will "c=fgetc(in)" evaluate to a true/false expression? or will that expression reflect the value of fgetc(in)? i read somewhere that something like:Code:while (c = fgetc(in) != EOF) { .... }
only works when you're using a zero. is this right?Code:a = b = c = d = 0;