Which of the following data type is used to fetch stream of data from network or file?
A. char
B. int
C. byte
D. double
Answer:A
Which of the following data type is used to fetch stream of data from network or file?
A. char B. int C. byte D. double
Explanation: when input is taken from keyboard or file it is taken in the form of bits by the machine. Byte is a collection of bits that makes user read a character at the output at a time. Usage of byte also saves memory.