Question: Hello! This is C++. Could you please answer these questions? Thank you and have a good one! 1. When you compile a C++ program, error
Hello! This is C++.
Could you please answer these questions?
Thank you and have a good one!
1. When you compile a C++ program, error messages and/or ____ might appear.
| bugs | ||
| exceptions | ||
| inconsistencies | ||
| warnings |
2. To ____ an object is to declare or create it.
| instantiate | ||
| encapsulate | ||
| abstract | ||
| overload |
3. Maintenance programming involves making modifications and improvements to existing systems.
True
False
4. Static functions ____ access non-static variables.
| can | ||
| cannot | ||
| should | ||
| should not |
5. Which of the following statements has an error?
| int rent[4] = {250, 375, 460, 600}; | ||
| int rent[] = {250, 375, 460, 600}; | ||
| int rent[4] = {250, 375}; | ||
| int rent[4] = {250, 375, 460, 600, 650}; |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
