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

Questions 21-25 of 80

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

Question 21

MCQ · Single Correct 1 mark

In C programming, what does the 'extern' storage class declare?

Answers for question 21

Question 22

MCQ · Single Correct 1 mark

What is the output of the bitwise AND operation (5 & 3) in C/C++?

Answers for question 22

Question 23

MCQ · Single Correct 1 mark

Which preprocessor directive is used in C/C++ to define macro constants?

Answers for question 23

Question 24

MCQ · Single Correct 1 mark

In C++, what is the default member access specifier for members declared inside a 'class' versus a 'struct'?

Answers for question 24

Question 25

MCQ · Single Correct 1 mark

What is the purpose of the pseudo-random number generator function rand() in C standard library stdlib.h?

Answers for question 25
Scroll to Top