Solved

Assume That T Is an Object of Class Test, Which

Question 22

Multiple Choice

Assume that t is an object of class Test, which has member functions a() , b() , c() and d() . If the functions a() , b() and c() all return references to an object of class Test (using the dereferenced this pointer) and function d() returns void, which of the following statements will not produce a syntax error:


A) t.a() .b() .d() ;
B) a() .b() .t;
C) t.d() .c() ;
D) t.a() .t.d() ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents