C MCQ set number 00719

1. Which of the following fopen statements are illegal? a) fp = fopen(“abc.txt”, “r”); b) fp = fopen(“/home/user1/abc.txt”, “w”); c) fp = fopen(“abc”, “w”); d) none of the mentioned AnswerAnswer: d [Reason:] None. 2. What does the following segment of code do?     fprintf(fp, “Copying!”); a) It writes “Copying!” into the file pointed by fp b)…


This content is for paid premium members only.
You can view complete answer after activation your membership.


Need only one answers. Simply buy single day pass and email. We will send answers for this question.
Login Buy membership