JOIN ADRE 2.0 Telegram Group

C Language Multiple Choice Questions with Answers

Questions
21 Choose the option that contains only Unary operators of C:
A sizeof, (type conversion)
B short hand operator, &
C increment(++), >=, !
D ==, !=

Answer: Option [A]

The sizeof() operator is used to calculate the size of a variable. This works in single operand.

22 Maximum value of an unsigned integer is
A 65535
B 32767
C -32767
D -65535

Answer: Option [A]
Advertisement
Article and Schedule Quiz Start Test!

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

23 The keyword typedef is used to
A create a type of function
B define the type of function
C define the type of a variable
D create a new datatype name

Answer: Option [D]

The existing name in C program can be changed by using typedef keyword.

24 What will happen if an element is assigned a value to an element of an array whose subscript exceeds the size of the array?
A It will not be allowed, but no error message will be generated
B Compiler will generate an error message suggesting the name
C The element will be assigned NULL VALUE
D Some other data may be overwritten

Answer: Option [D]
25 By default a real number is treated as a
A float
B double
C long double
D integer

Answer: Option [A]

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

Latest Test Series

ssc cgl test series

SSC CGL

Start Test 1000+ Tests Latest patternView Course
delhi policesi test series

DELHI POLICE SI

Start Test 1000+ Tests Latest patternView Course
west bengal psc test series

WEST BENGAL PSC

Start Test 1000+ Tests Latest patternView Course
cisf head constable test series

CISF CONSTABLE

Start Test 1000+ Tests Latest patternView Course
Junior Associate of the Indian Institute of Bankers(JAIIB) test series

JAIIB

Start Test 30 Full Length Tests View Course
adre 2024 test series

ADRE 2024

Start Test 25000+ QUESTIONS SOLUTIONSView Course
RRB RRC GROUP D test series

RRB RRC GROUP D

Start Test 15000+ QUESTIONS Latest patternView Course
UP POLICE SI test series

UP POLICE SI

Start Test 16000+ QUESTIONS Latest patternView Course
CLICK HERE TO VIEW ALL COURSES