JOIN ADRE 2.0 Telegram Group

Chapterwise C Programming solved questions and answers for exam

Questions
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.

Advertisement
Article and Schedule Quiz Start Test!

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

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]

ADRE 2.0 FULL LENGTH MOCK TEST

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!

Chapters

Advertisement
Assam Direct Recruitment Test Series