(A) Polymorphism
(B) Encapsulation
(C) Abstraction
(D) Modularity
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 language which has the capability to generate new data types are called?
(A) Overloaded
(B) Extensible
(C) Encapsulated
(D) Reprehensible
Which function is used to read a single character from the console in C++?
(A) cin.get(ch)
(B) getline(ch)
(C) read(ch)
(D) scanf(ch)
Which of the following used for comments in C++?
(A) // comment
(B) /*comment*/
(C) Both of the above
(D) //comment*/
Which of the following is called address operator?
(A) *
(B) &
(C) _
(D) %
Which of the following is the correct syntax including a user defined header files in C++?
(A) #include
(B) #include
(C) #include “userdefined”
(D) #include [userdefined]
Which of the following is a keyword used for storage class?
(A) auto
(B) scanf
(C) external
(D) Printf
C language consist of how many numbers of keywords?
(A) 24
(B) 32
(C) 40
(D) 56