JOIN ADRE 2.0 Telegram Group

Chapterwise C Programming solved questions and answers for exam

11 An external variable is one
A Which resides in the memory till the end of the program
B Which is globally accessible by all functions
C Which is declared outside the body of any function
D All of the above

Answer: Option [D]

An external variable is the one which is created outside the body of the function, i.e. within the source code file. The scope of the external variable is till the end of the program.

12 When applied to a variable, what does the unary "&" operator yield?
A The variable's address
B The variables right value
C The variable's binary form
D The variable's value

Answer: Option [A]

The address of a variable is yield by the unary operator Address of. This unary operator "&" operates on only one operand.

APSC CCE PRELIMS Mock Test - 1 Start Test
APSC CCE PRELIMS Mock Test - 2 Start Test


13 The operator "&" is used for
A Bitwise AND
B Bitwise OR
C Logical AND
D Logical OR

Answer: Option [A]
14 Which are built-in data structures in C programming?
A Arrays
B Structures
C Files
D All of the above

Answer: Option [D]
15 The size of a character variable in C is
A 8 bytes
B 4 bytes
C 2 bytes
D 1 byte

Answer: Option [D]


Take Mock Tests

Government Schemes Mock Test Start Test!
Political Science Mock Test – 42 Start Test
History Test – 190 Start Test
Quantitative Aptitude Test Start Test!
Trigonometry - Mock Test Start Test!
Data Interpretation - Mock Test Start Test!
General Awareness - Mock Test Start Test!
Reasoning Ability - Mock Test Start Test!
Englist(Antonyms) Mock Test 1 Start Test!
Quantitative Aptitude (Percentage) Mock Test Start Test!
Economy Mock Test 1 Unlock Test!
Books & Authors - Test 2 Unlock Test!


apsc cce prelims 2024 test series