Top 1000 C++ Quiz - 1
Question: 1
The name assigned to a data field that can assume any of a given set of values is defined as the _____
(A) char
(B) num
(C) variables
(D) constant
Ans: C
variables
Question: 2
The data type unsigned long, long and float has _____ bits.
(A) 8
(B) 16
(C) 32
(D) 64
Ans: C
32
Question: 3
Which punctuator is used to terminate a C++ statement?
(A) ,
(B) .
(C) :
(D) ;
Ans: D
;
Question: 4
_____ data type cannot hold fractional values.
(A) double
(B) float
(C) char
(D) int
Ans: D
int
Question: 5
Relational, equality, component selection, class member conditional and comma are _____ operator.
(A) assignment
(B) binary
(C) shift
(D) unary
Ans: B
binary
Related Questions
- 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
Recent Articles
Latest Computer Questions for Competitive Exams 2027-2028 More
CUET Online Mock Test 2027-2028 More
Computer Quiz Online 2026-2027 More
CBT Exam Sample Questions with Answers Pdf More
Computer GK Questions 2027-2028 Pdf More
GK Questions and Answers on Computer 2026-2027 More
November-06-2026
| Meritnotes
CUET Online Mock Test 2027-2028 More
October-30-2026
| Meritnotes
Computer Quiz Online 2026-2027 More
October-26-2026
| Meritnotes
CBT Exam Sample Questions with Answers Pdf More
October-16-2026
| Meritnotes
Computer GK Questions 2027-2028 Pdf More
October-07-2026
| Meritnotes
GK Questions and Answers on Computer 2026-2027 More
October-02-2026
| Meritnotes
Trending Posts
Oracle DBA Structure Interview Questions and Answers Pdf More
Top 100+ Time and Distance Aptitude Questions and Answers More
Educational Development in India MCQ Quiz Questions & Answers More
1000+ Electromagnetic Field Theory MCQ Questions and Answers Pdf More
Web Design HTML, XHTML, DHTML, CSS Questions Pdf More
7000+ Welding Defects MCQs With Answers Pdf More
August-28-2019
| Meritnotes
Top 100+ Time and Distance Aptitude Questions and Answers More
August-12-2021
| Meritnotes
Educational Development in India MCQ Quiz Questions & Answers More
July-23-2024
| Meritnotes
1000+ Electromagnetic Field Theory MCQ Questions and Answers Pdf More
February-18-2023
| Meritnotes
Web Design HTML, XHTML, DHTML, CSS Questions Pdf More
March-30-2025
| Meritnotes
7000+ Welding Defects MCQs With Answers Pdf More
October-19-2023
| Meritnotes