(A) Encapsulation
(B) Function
(C) Operator
(D) None of the above
Category: C++ Programming Mcqs
C++ Programming Mcqs for Screening tests, Interviews, Viva and Other competitive exams. C++ Programming Mcqs section will help users to prepare mcqs of C++ Programming for various exams. Aspirants of Lecturer Computer Science, SST Computer Science, Subject Specialist Computer Science, Data Entry operator, Computer Programmer, Computer Operator, Software engineer and all other Competitive Exams can prepare their C++ programming portion from here.
A variable which life-time is inside the block?
(A) local
(B) global
(C) static
(D) Both A & B
Which of the following is output statement in C++?
(A) print
(B) printf
(C) cin
(D) cout
Multiple line comment represented by?
(A) //
(B) */
(C) /*
(D) /* …. */
Which of the following is correct operator to compare two variables?
(A) ?:
(B) =
(C) equal
(D) ==
Program syntax errors are detected by?
(A) Compiler
(B) Debugger
(C) Loader
(D) Linker
The .exe file is produced by?
(A) Linker
(B) Loader
(C) Interpreter
(D) Compiler
Can we have constructor in Abstract class?
(A) Yes
(B) No