MCQ Answer

Choose the correct difference between getc() and fgetc().

Choose the correct difference between getc() and fgetc().

Getc () और fgetc () के बीच सही अंतर चुनें।
Topic : File Processing

A. If it is not a macro, it may evaluate stream more than once

B. if it is amacro, it may not evaluate stream more than once

C. if it is a macro, it may evaluate stream more than once

D. no difference between fgetc() and getc()




Correct Answer is :

C. if it is a macro, it may evaluate stream more than once



Explanation
getc() is equivalent to fgetc() except that if it is a macro, it may evaluate more than once.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz