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:

Verified
Correct Answer:
Verified
Q2: Parameterized stream manipulator setfill specifies the fill
Q3: A class's functions can throw exceptions, such
Q4: Which of the following statements about friend
Q5: Given the class definition: class CreateDestroy<br>{<br>Public:<br>CreateDestroy() {cout
Q6: The assignment operator (=) can be used
Q8: Assuming the following constructor is provided for
Q9: Static data members of a certain class:<br>A)
Q10: Which of the following is not true
Q11: Inside a function definition for a member
Q12: Utility functions:<br>A) Are private member functions that