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.
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 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 Best Website and Software Company in Allahabad