Input / Output - Point Out Errors Multiple Questions and Answers.




1.Point out the error in the program?
A. Error: in unsigned char statement
B. Error: unknown file pointer
C. No error
D. None of above

2.Point out the error in the program?
A. Error: suspicious char to in conversion in scanf()
B. Error: we may not get input for second scanf() statement
C. No error
D. None of above

3.Point out the error, if any in the program?
A. Error: unrecognised Keyword SEEK_SET
B. Error: fseek() long offset value
C. No Error
D. None of above

4.What will be the output of the program?
A. No error, No output.
B. Program crashes at run time.
C. Output: Unable to open file.
D. None of above

5.Point out the error in the program?
A. Error: in unsigned char declaration
B. Error: while statement
C. No error
D. It prints all characters in file "trial"




Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers