Solved

Assume That T Is an Object of Class Test, Which

Question 7

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