BIHAR-BOARD-XII SERIES Computer-science
C Programming
12 previous year questions.
Volume: 12 Ques
Yield: Medium
High-Yield Trend
12
2025 Chapter Questions 12 MCQs
01
PYQ 2025
hard
computer-science ID: bihar-bo
Is it possible to overload a destructor ? Give reason.
02
PYQ 2025
medium
computer-science ID: bihar-bo
The size of int datatype in C++ is
1
1 byte
2
2 bytes
3
4 bytes
4
Depends on compiler
03
PYQ 2025
medium
computer-science ID: bihar-bo
Which one of the following is used with cout as an operator ?
1
2
3
>
4
& Lt;
04
PYQ 2025
medium
computer-science ID: bihar-bo
Write a program in C++ to generate and display prime number from 1 to 51.
05
PYQ 2025
medium
computer-science ID: bihar-bo
How is an array initialized in C++ language ?
1
int a[3] = \{1, 2, 3\};
2
int a = \{1, 2, 3\};
3
int a[] = new int[3];
4
int a(3) = \{1, 2, 3\};
06
PYQ 2025
medium
computer-science ID: bihar-bo
Which of the following data types is supported in C++ but not in C ?
1
int
2
bool
3
double
4
float
07
PYQ 2025
medium
computer-science ID: bihar-bo
What is constructor in C++ ?
08
PYQ 2025
medium
computer-science ID: bihar-bo
How many keywords are there in C++ ?
1
82
2
48
3
99
4
95
09
PYQ 2025
easy
computer-science ID: bihar-bo
How many types of loop are there in C++ ?
10
PYQ 2025
medium
computer-science ID: bihar-bo
Which of the following operators is known as scope resolution operator ?
1
::
2
?:
3
-
4
;
11
PYQ 2025
easy
computer-science ID: bihar-bo
A C++ line ends with which symbol ?
12
PYQ 2025
medium
computer-science ID: bihar-bo
Which keyword is used to define macros in C++ ?
1
\# macro
2
\# define
3
macro
4
define