Pointers - Point Out Errors Multiple Questions and Answers.




1.Point out the compile time error in the program given below?
A. Error: invalid assignment for x
B. Error: suspicious pointer conversion
C. No error
D. None of above

2.Point out the error in the program?
A. Error: Declaration syntax
B. Error: Expression syntax
C. Error: LValue required
D. Error: Rvalue required

3.Which of the following statements correctly declare a function that receives a pointer to pointer to a pointer to a float and returns a pointer to a pointer to a pointer to a pointer to a float?
A. float **fun(float***);
B. float *fun(float**);
C. float fun(float***);
D. float ****fun(float***);




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