C++ Multiple Choice Questions Page 14 of 14

Home » C++ » MCQ

Showing Page 14 (261 - 280)

Question: 261

(A) Hello Derived
(B) Hello Base
(C) Hello Derived Hello Base
(D) Error: not matching func to call ‘derived::derived(cppbuzz_base&)’



Level: Practitioner
Category of MCQ: typecasting in C++

Question: 262

(A) Both pointers hold same object
(B) They don't hold same object
(C) Compilation Error
(D) Exception occured



Level: Practitioner
Category of MCQ: singleton in C++

Question: 263

(A)
(B)
(C)
(D)



Level: Practitioner
Category of MCQ: singleton in C++

Question: 264

(A) error: cannot declare variable ‘obj’ to be of abstract type ‘cppbuzz’
(B) cppbuzz
(C) ~cppbuzz
(D) cppbuzz~cppbuzz



Level: Practitioner
Category of MCQ: abstract_class in C++

Question: 265

(A) 4
(B) 8
(C) 12
(D) 16



Level: Expert
Category of MCQ: abstract_class in C++

Question: 266

(A) True
(B) False



Level: Practionar
Category of MCQ: virtual_func in C++

Question: 267

(A) Compilation Error
(B) 10, 20
(C) 10, 10
(D) 10, Undfefined Value



Level: Expert
Category of MCQ: classesAndobjects in C++

Question: 268

(A) O(log N)
(B) O(N/2)
(C) O(N)
(D) O(N^2)



Level: Beginner
Category of MCQ: time_space_complexity in C++

Question: 269

(A) Compilation error
(B) O(logN)
(C) O(N/2)
(D) O(N)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 270

(A) O(2N)
(B) O(N)
(C) O(N+N)
(D) O(N*N)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 271

(A) O(N+M)
(B) O(N*M)
(C) O(N)
(D) O(M)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 272

(A) O(N)
(B) O(Nlogn)
(C) O(N^2)
(D) O(N^3)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 273

(A) O(111*N)
(B) O(Nlogn)
(C) O(1)
(D) O(N)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 274

(A) O(N)
(B) O(logN)
(C) O(sqrt(N))
(D) O(∞)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 275

(A) O(LogN)
(B) O(1)
(C) O(N)
(D) O(N longN)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 276

(A) O(LogN) , O(N)
(B) O(N), O(N)
(C) O(N), O(1)
(D) O(N), O(0)



Level: Practionar
Category of MCQ: time_space_complexity in C++

Question: 277

(A) extern
(B) extern
(C) auto
(D) mutable & thread_local



Level: Practionar
Category of MCQ: storgeclass in C++

Question: 278

(A) NULL
(B) 0
(C) empty value
(D) indeterminate or garbage value



Level: Practionar
Category of MCQ: storgeclass in C++

Question: 279

(A) I am a const object.
(B) Compilation Error
(C) Runtime Error
(D) I am a const object.



Level: Experts
Category of MCQ: classesAndobjects in C++

Question: 280

(A) p1 is less than p2
(B) p1 is greater than p2
(C) p1 is equal to p2
(D) Compilation Error



Level: Experts
Category of MCQ: cpp20 in C++

C++ Online Test
Compile C++ code here

Browse C++ Categories

Loops Conditional Functions Operators Structure Enum Data Types Inheritance Pointers Classes & Objects Vtable Type Casting New & Delete Namespaces Virtual Functions Abstract Class STL Singleton Class Exceptions C++11 C++17 C++20 Time & Space Complexity others

Switch to C Questions

MCQs

About Us | Contact Us | Privacy Policy | Career  | Online Training
Youtube   LinkedIn   Facebook   Twitter   Instagram  
Copyright©CppBuzz.com
Like many websites, we use cookies to ensure best browsing experience on our website. While using this website, you acknowledge to have read and accepted our cookie and privacy policy.