GAT Subject
Engineering
Computer Science Civil Engineering Chemical Engineering Agricultural Engineering Mechanical Engineering Electronics and Communication
3. | Point out the error, if any in the program? | |
A. | Error: unrecognised Keyword SEEK_SET | |
B. | Error: fseek() long offset value | |
C. | No Error | |
D. | None of above | |
Answer: Option B | |
Explanation: | |
Instead of "20" use 20L since fseek() need a long offset value. |
|
Tutorial Link: |