1. Which of the following correctly describes the meaning of 'namespace' feature in C++?
2. Which of the following correctly describes C++ language?
3. How do we define a constructor?
4. In a group of nested loops, which loop is executed the most number of times?
5. What is the output of the following code snippet? class test { public: static int n; test () { n++; }; ~test () { n--; }; }; int test::n=0; int main () { test a; test b[5]; test * c = new test; cout << a.n << endl; delete c; cout << test::n << endl; return 0; }
6. Which of the following comments about the "++" operator are correct?
7. Which one of the following is not a correct variable type in C++ programs?
8. What punctuation must use to end the code C/C++ expression statement?
9. There is a unique function in C++ program by where all C++ programs start their execution
10. What punctuation ends most lines of C++ code?
11. The built-in library function ceil(x) requires the header file
12. By default, the standard input device for C++ program is
13. Which of the following is input statement in C++?
14. Which of the following is output statement in C++?
15. Every statement in C++ program should end with
Object–relational Mapping
Lisp Programming
CNC programming
Pay-per-click (PPC)
FoxPro
Comptia A +: Hardware
Related MCQ's
Popular MCQ's