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

Questions 11-15 of 80

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

Question 11

MCQ · Single Correct 1 mark

How does C++ solve the 'Diamond Problem' in multiple inheritance?

Answers for question 11

Question 12

MCQ · Single Correct 1 mark

Which function parameter passing mechanism in C creates a copy of the argument's value in the function's parameter variable?

Answers for question 12

Question 13

MCQ · Single Correct 1 mark

In C, what is the default return type of a function if not explicitly specified in traditional C compilers?

Answers for question 13

Question 14

MCQ · Single Correct 1 mark

What is the key difference between a struct and a union in C?

Answers for question 14

Question 15

MCQ · Single Correct 1 mark

In C++, which keyword is used to prevent a class from being inherited or a virtual function from being overridden?

Answers for question 15
Scroll to Top