(A) Polymorphism
(B) Encapsulation
(C) Abstraction
(D) Modularity
Tag: C++ Programming
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