BPSC TRE Programming Languages & Web Technologies – Full Subject Test 2

Questions 1-5 of 80

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

Question 1

MCQ · Single Correct 1 mark

In C programming, which specifier in printf() is strictly used to display a pointer memory address in hexadecimal format?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

Which function in the C standard library is used to reallocate dynamic memory blocks while keeping existing data intact?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

In C++, what is the default inheritance access mode when a derived class is declared using the 'class' keyword without specifying access specifiers?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

Which operator in C++ cannot be overloaded under any circumstances according to language specifications?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

What happens if a class in C++ has at least one pure virtual function (e.g., virtual void show() = 0;)?

Answers for question 5
Scroll to Top