Home » C++ » Objective Questions
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&)’
Compiler
Level: Practitioner Category: typecasting
Question: 262
(A) Both pointers hold same object
(B) They don't hold same object
(C) Compilation Error
(D) Exception occured
Compiler
Level: Practitioner Category: singleton
Question: 263
(A)
(B)
(C)
(D)
Compiler
Level: Practitioner Category: singleton
Question: 264
(A) error: cannot declare variable ‘obj’ to be of abstract type ‘cppbuzz’
(B) cppbuzz
(C) ~cppbuzz
(D) cppbuzz~cppbuzz
Compiler
Level: Practitioner Category: abstract_class
Question: 265
Question: 266
(A) True
(B) False
Compiler
Level: Practionar Category: virtual_func
Question: 267
(A) Compilation Error
(B) 10, 20
(C) 10, 10
(D) 10, Undfefined Value
Compiler
Level: Expert Category: classesAndobjects
Question: 268
(A) O(log N)
(B) O(N/2)
(C) O(N)
(D) O(N^2)
Compiler
Level: Beginner Category: time_space_complexity
Question: 269
Question: 270
Question: 271
Question: 272
(A) O(N)
(B) O(Nlogn)
(C) O(N^2)
(D) O(N^3)
Compiler
Level: Practionar Category: time_space_complexity
Question: 273
(A) O(111*N)
(B) O(Nlogn)
(C) O(1)
(D) O(N)
Compiler
Level: Practionar Category: time_space_complexity
Question: 274
(A) O(N)
(B) O(logN)
(C) O(sqrt(N))
(D) O(∞)
Compiler
Level: Practionar Category: time_space_complexity
Question: 275
Question: 276
(A) O(LogN) , O(N)
(B) O(N), O(N)
(C) O(N), O(1)
(D) O(N), O(0)
Compiler
Level: Practionar Category: time_space_complexity
Question: 277
(A) extern
(B) extern
(C) auto
(D) mutable & thread_local
Compiler
Level: Practionar Category: storgeclass
Question: 278
(A) NULL
(B) 0
(C) empty value
(D) indeterminate or garbage value
Compiler
Level: Practionar Category: storgeclass
Question: 279
(A) I am a const object.
(B) Compilation Error
(C) Runtime Error
(D) I am a const object.
Compiler
Level: Experts Category: classesAndobjects
Question: 280
(A) p1 is less than p2
(B) p1 is greater than p2
(C) p1 is equal to p2
(D) Compilation Error
Compiler
Level: Experts Category: cpp20
C++ Online Test
Compile C++ code here