BPSC TRE – Programming Languages & Web Technologies | Full Subject Test 1

Questions 16-20 of 80

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

Question 16

MCQ · Single Correct 1 mark

Which C++ standard library smart pointer provides exclusive ownership of a dynamically allocated object?

Answers for question 16

Question 17

MCQ · Single Correct 1 mark

What happens if a base class destructor is NOT declared as virtual in C++ when deleting a derived object through a base pointer?

Answers for question 17

Question 18

MCQ · Single Correct 1 mark

Which header file in C standard library provides functions for string manipulation like strcpy() and strlen()?

Answers for question 18

Question 19

MCQ · Single Correct 1 mark

In C++, what is an Inline Function?

Answers for question 19

Question 20

MCQ · Single Correct 1 mark

Which cast operator in C++ is specifically designed for safe runtime downcasting along class hierarchies using dynamic type information?

Answers for question 20
Scroll to Top