CppBuzz.com
  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux Forum

You are here : Home » C++ » Interview Questions on Enum in C++

Interview Questions on Enum in C++ : (7)


Question: 1

(A) blue
(B) 2
(C) 1
(D) None of these

Compiler DiscussOnForum
Practitioner enum[Posted by: Admin | Chicago, USA]



Question: 2

(A) blue
(B) Compilation Error
(C) 1
(D) 2

Compiler DiscussOnForum
Practitioner enum[Posted by: Admin | Chicago, USA]



Question: 3

(A) yellow
(B) black
(C) Compilation Error
(D) 3

Compiler DiscussOnForum
Practitioner enum[Posted by: Admin | Chicago, USA]



Question: 4

(A) black
(B) 0
(C) -1
(D) Some Garbage Value

Compiler DiscussOnForum
Practitioner enum[Posted by: Admin | Chicago, USA]



Question: 5

(A) 0
(B) 1
(C) 2
(D) 4

Compiler DiscussOnForum
Practitioner enum[Posted by: Admin | Chicago, USA]



Question: 6

(A) Compilation Error
(B) 0
(C) 1
(D) -4

Compiler DiscussOnForum
Practitioner enum[Posted by: Admin | Chicago, USA]



Question: 7

(A) “MAPLE”
(B) 2
(C) ‘M’
(D) 1

Compiler DiscussOnForum
Beginner enum[Posted by: Andrew | New Jersey]



Compile C++ code here  |  Upload your Questions

C++ Objective Questions By Different Categories:-
Loops | Conditional | Functions | Operators | Structure | Enum | Storage Classes | Union | FileHandling | Data Types | Inheritance | Pointers | Classes & Objects | Vtable | Type Casting | New & Delete | Namespaces | Reference Variables | Static Cast | Dynamic Cast | Reinterpret Cast | Const Cast | Virtual Functions | Abstract Class | STL | Singleton Class | C++ 11 | C++ 14 | C++ 17 | C++ 20 | gcc/g++ | others

Switch to C Questions