Does EOF have an integer value associated with it. If so is that a fixed value and can we print that using %d format specifier.
Printable View
Does EOF have an integer value associated with it. If so is that a fixed value and can we print that using %d format specifier.
The EOF has an integer value associated with it. Though it is -1 it cannot be generalized and the value is system dependent and so you cannot print it using %d specifier.