1.

The advantages of using character stream based file handling are?(a) they operate directly on unicode characters(b) they operate directly on bits(c) they store unicode text(d) all of the mentionedI got this question in an online quiz.Origin of the question is Character Stream topic in section Console I/O Operations and Stream Classes of C#

Answer»

Right answer is (a) they OPERATE directly on unicode characters

To explain I WOULD say: Although byte-oriented file HANDLING is quite common, it is possible to use character-based streams for this purpose. The advantage of the character streams is that they operate directly on Unicode characters. THUS, if you want to store Unicode text, the character streams are CERTAINLY the best option.



Discussion

No Comment Found

Related InterviewSolutions