1.

Which is best for coding the standard library for c++?(a) no trailing underscores on names(b) complex objects are returned by value(c) have a member-swap()(d) all of the mentioned

Answer» Right choice is (d) all of the mentioned

The best explanation: Best coding for the standard library for c++ is:

-> No trailing underscores on names

-> Complex objects are returned by value

-> It should have a member-swap().


Discussion

No Comment Found

Related InterviewSolutions