adplus-dvertising
frame-decoration

Question

Which of the following comments about EOF are true?

a.

its value is defined within stdio.h

b.

its value is implementation dependent and cant be negative

c.

its value should not equal the integer equivalent of any character

d.

All of the above

Posted under C Programming

Answer: (d).All of the above

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following comments about EOF are true?

Similar Questions

Discover Related MCQs

Q. In standard C, trigraphs in the source program are translated

Q. Which of the following are not the keywords in C?

Q. Choose the correct statement

Q. Which of the following features of C is meant to provide reliable access to special memory locations?

Q. Choose the best answer. Storage class defines

Q. puts(argv[0]);

Q. Bit field

Q. Choose the correct comments
In a bit-field

Q. The declaration int x : 4;
means

Q. Bit-fields will he accommodated in a word

Q. Choose the correct statement.

Q. The use of macro in the place of functions

Q. The process of transforming one bit pattern into another by bit-wise operations is called

Q. How many bits are absolutely necessary to store an ASCII character?

Q. If 7 bits are used to store a character, the percentage reduction of needed storage will be

Q. How many bits are absolutely necessary to store an ASCII character ?

Q. a << 1 is equivalent to

Q. Assume an unsigned integer occupies 1 byte. Let myVar be an unsigned integer. Then myVar « 1 multiplies myVar by 2 if it is not greater than

Q. In a certain machine, the sum of an integer and its 1's complement is 226 - 1. Then sizeof intl. in bits, will be

Q. Which of the following comments about the preprocessor directive # are correct?