<AptiCode/>

The ultimate platform for developers to practice, compete, and grow. Join our community of passionate coders today.

TwitterLinkedIn

Platform

ProblemsCompilerAptitude TestsContests

Company

About UsContactRewardsContribute

Legal

Terms of ServicePrivacy PolicyShipping PolicyRefund Policy

© 2025 AptiCode. All rights reserved.

Made withfor developers

topic/Input / Output

Question NoTitleTypeMarks
563.What is the purpose of"rb"infopen()function used below in the code?FILE *fp; fp = fopen("source.txt", "rb");
MCQ
5
564.What doesfppoint to in the program ?#include<stdio.h> int main() { FILE *fp; fp=fopen("trial", "r"); return 0; }
MCQ
5
565.Which of the following operations can be performed on the file "NOTES.TXT" using the below code?FILE *fp; fp = fopen("NOTES.TXT", "r+");
MCQ
5
566.To print outaandbgiven below, which of the followingprintf()statement will you use?#include<stdio.h> float a=3.14; double b=3.14;
MCQ
5
562.In a file contains the line "I am a boy\r\n" then on reading this line into the arraystrusingfgets(). What willstrcontain?
MCQ
5