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.
Buy membership
Already a member? Log in here
ed010d383e1f191bdb025d5985cc03fc?s=120&d=mm&r=g

DistPub Team

Distance Publisher (DistPub.com) provide project writing help from year 2007 and provide writing and editing help to hundreds student every year.