The function “fprintf” is used in a program:-
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
RPSC Prelims previous year questions

The function “fprintf” is used in a program:-

Asked in RPSC 23Feb 2016Question Paper for VicePrincipal/Superintendent ITI Screening Test 2012(Electrical Engineering)VICE PRINCIPAL/SUPDT. ITI - 2012

  1. When too many printf calls have been already used in the program
  2. In place of printf, since printf uses more memory.
  3. When the output is to be printed on to a file
  4. When the type of variables to be printed are not known before
Show answer

Answer: C. When the output is to be printed on to a file

More RPSC Prelims previous year questions questions

All 8,445 RPSC Prelims previous year questions questions →