Const - Point Out Errors Multiple Questions and Answers.




6.Point out the error in the program?
A. Error: RValue required
B. Error: Lvalue required
C. Error: cannot convert from 'const int *' to 'int *const'
D. No Error

7.Point out the error in the program?
A. Error: cannot convert ptr const value
B. Error: unknown pointer conversion
C. No error
D. None of above

8.Point out the error in the program?
A. Error: RValue required
B. Error: Lvalue required
C. Error: fun() returns a pointer const character which cannot be modified
D. No Error

«



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