Top 100+ Object Oriented Programming Quiz Questions & Answers - 1
Question: 1
_____ data type is further divided into float and double.
(A) double
(B) float
(C) char
(D) int
Ans: B
float
Question: 2
In _____ method, the called function arguments formal parameters become alias to the actual parameters in the calling function.
(A) return
(B) call
(C) call by value
(D) call by reference
Ans: D
call by reference
Question: 3
The declaration statement char *cp, is a _____ type pointer.
(A) double
(B) string
(C) character
(D) integer
Ans: C
character
Question: 4
The base data type should be prefixed with the _____ at the time of declaring a variable.
(A) dimension
(B) variable
(C) constant
(D) modifiers
Ans: D
modifiers
Question: 5
In C++ int data type has the range of values
(A) 32767 to 32768
(B) 32768 to 32769
(C) -32768 to 32767
(D) -32768 to 32768
Ans: C
-32768 to 32767
- Top 1000 C++ Quiz
- Object Oriented Programming MCQ Questions and Answers Pdf
- Top 100+ Object Oriented Programming Quiz Questions & Answers
- Top 100+ Object Oriented Programming Online Test
- Object Oriented Programming Objective Questions and Answer Pdf
- Top 1000+ Computer Knowledge Questions and Answers for Competitive Exams
VAPT MCQ Questions and Answers More
Computer File Extension MCQ Questions and Answers More
Scenario Based Power Apps Interview Questions More
scenario-based power apps interview questions More
Microsoft Power Apps MCQ Quiz Questions Pdf More
1000+ Materials of Construction Objective Questions & Answers Pdf More
Civil Engineering RCC Structures Design Interview Questions & Answers More
MCQ on Indian National Congress for UPSC Mains, SSC, TNPSC More
Pl/Sql Interview Questions for Experienced Pdf More
7000+ Foundry Metallurgy MCQ Questions and Answers More