BPSC TRE – Programming Fundamentals & OOP Concepts | Test 1

Questions 46-50 of 50

0% completed (0/50 answered)
Your score 0/50 0 answered
Correct 0 Incorrect 0 Unanswered 50 Accuracy 0%

Question 46

MCQ · Single Correct 1 mark

What hidden pointer is added to each object of a polymorphic class to point to its class VTABLE?

Answers for question 46

Question 47

MCQ · Single Correct 1 mark

What is composition in Object-Oriented Design?

Answers for question 47

Question 48

MCQ · Single Correct 1 mark

Which cast operator in C++ is used to cast away 'const' or 'volatile' qualifiers from a variable?

Answers for question 48

Question 49

MCQ · Single Correct 1 mark

Which cast operator in C++ performs low-level reinterpretation of bit patterns (e.g., casting an integer to a pointer)?

Answers for question 49

Question 50

MCQ · Single Correct 1 mark

What is the lifetime of a local static variable declared inside a function in C++?

Answers for question 50
Scroll to Top