Un-Answered Questions { Programming Languages }

What is a constructor initializer list?

616


What is partial specialization or template specialization?

555


What does it mean to take the address of a reference?

517


What are the costs and benefits of using exceptions?

537


What is name mangling/name decoration?

507


What is wrong with this statement? std::auto_ptr ptr(new char[10]);

529


What is an algorithm (in terms of the STL/C++ standard library)?

606


Explain what happens when an exception is thrown in C++.

536


It is possible to build a C++ compiler on top of a C compiler. How would you do this?

541


When would you choose to return an error code rather than throw an exception?

535


What kind of problems does name mangling cause?

584


How do you work around them?

582


What are the advantages/disadvantages of using inline and const?

558


What is the difference between public, private, and protected inheritance?

535


What does it mean to declare a function or variable as static?

540