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
Rust Programming Language MCQ Quiz Questions Pdf More
AI Security MCQ Questions and Answers Pdf More
Robotic Process Automation (RPA) MCQ Questions and Answers Pdf More
Sustainable Technology Quiz Questions and Answers Pdf More
Sustainable Development and Technology MCQ Questions More
1000+ Structural Analysis MCQ questions and Answers Pdf More
1000+ Networking Quiz Questions and Answers More
1000+ Petroleum Engineering MCQ Questions and Answers More
Mughal Empire Objective Questions and Answers More
Tally ERP 9 Questions and Answers Pdf More