In a UML diagram, what symbol represents a ‘private’ member?
Author: Anonymous
What is the ‘const’ keyword used for in an accessor function…
What is the ‘const’ keyword used for in an accessor function (i.e., int getHealth() const)?
Why would a programmer use a ‘private utility function’ (hel…
Why would a programmer use a ‘private utility function’ (helper function)?
What is ‘Pass-by-Address’ primarily concerned with in C++?
What is ‘Pass-by-Address’ primarily concerned with in C++?
Which of the following best describes a ‘class’ in C++?
Which of the following best describes a ‘class’ in C++?
When a constructor calls another constructor from the same c…
When a constructor calls another constructor from the same class, it is known as:
Consider this switch statement. What is the output if choice…
Consider this switch statement. What is the output if choice = 1? int choice = 1;switch(choice) { case 1: std::cout
If you are using a function from a library, where would you…
If you are using a function from a library, where would you find information about its efficiency (Big O)?
Which of the following describes an ‘infinite loop’?
Which of the following describes an ‘infinite loop’?
Which keyword is used to transfer ownership of resources in…
Which keyword is used to transfer ownership of resources in a move constructor?