Sail E0 Webinar

MCQs

Total Questions : 13 | Page 2 of 2 pages
Question 11. Which of the following mode argument is used to truncate?
  1.    a
  2.    f
  3.    w
  4.    t
 Discuss Question
Answer: Option C. -> w


None.


Question 12. Which of the following fopen statements are illegal?
  1.    fp = fopen(abc.txt", r");
  2.    fp = fopen(/home/user1/abc.txt", w");
  3.    fp = fopen(abc", w");
  4.    None of the mentioned.
 Discuss Question
Answer: Option D. -> None of the mentioned.


None.


Question 13. Which type of files can't be opened using fopen()?
  1.    .txt
  2.    .bin
  3.    .c
  4.    None of the mentioned
 Discuss Question
Answer: Option D. -> None of the mentioned


None.


Latest Videos

Latest Test Papers