Question: Question (a) Distinguish TWO (2) differences between sequential files and random files. [4 marks] (b) Describe the following terms using sultable examples in the context
Question (a) Distinguish TWO (2) differences between sequential files and random files. [4 marks] (b) Describe the following terms using sultable examples in the context of C language: i. Structure [3 marks] ii. Union 3 marks] (c) Explain what happens when the following C statement is executed successfully: FILE Ep fopen ("testfile.txt, 4 marks] (d) Provide the C statement to close the file fp given in (c). 2 marks (e) Determine the results of the following relational and logical operators. Result No. x y i. | 2010 |x>30 && y!:-50 Expression iv. 1411
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
