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

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 storage class specifies that a variable is stored in the CPU register instead of RAM for faster access?

Answers for question 1

Question 2

MCQ · Single Correct 1 mark

What is the result of applying the sizeof operator to a pointer variable pointing to an integer on a 64-bit architecture?

Answers for question 2

Question 3

MCQ · Single Correct 1 mark

Which function in the C standard library is used to release dynamically allocated memory back to the heap?

Answers for question 3

Question 4

MCQ · Single Correct 1 mark

What condition leads to a 'dangling pointer' in C/C++ programming?

Answers for question 4

Question 5

MCQ · Single Correct 1 mark

In C++, which keyword is used to declare a member function that must be overridden by derived classes and cannot be instantiated directly in the base class?

Answers for question 5
Scroll to Top