1.

Read the following statements about files in Pascal

1.A file is a data structure which consists of a sequence of components of the same type.

2.The number of components in a file is variable.

3.The components in a file can be accessed only sequentially starting from the beginning of the file.

Which of the above are correct?

A. All
B. 1 and 2 only
C. 2 and 3 only
D. 1 and 3 only
Answer» B. 1 and 2 only


Discussion

No Comment Found

Related MCQs