Basics of C Language - Objective Type Questions with Answers

(6) Which operators are used to compare the values of operands to produce logical value in C language?
[A] Logical operator
[B] Relational operator
[C] Assignment operator
[D] None of the above

Comment

Answer: Option [B]

The relational operators such as <, >, <=, == etc. are used to produce either true or false results.

(7) What is/are the number of operand/operands needed to unary operator logical not(!)?
[A] 4
[B] 3
[C] 2
[D] 1

Comment

Answer: Option [D]

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Article and Schedule Quiz Start Test!
(8) While assigning a value to a variable, which operators are used to perform artithmetic operations?
[A] Logical operator
[B] Assignment operator
[C] Increment operator
[D] Conditional operator

Comment

Answer: Option [B]
(9) An operator used to check a condition and select a value depending on the value of the condition is called
[A] Logical operator
[B] Decrement operator
[C] Conditional or Ternary operator
[D] Bitwise operator

Comment

Answer: Option [C]
(10) Which operators perform operations on data in binary level?
[A] Logical operator
[B] Bitwise operator
[C] Additional operators
[D] None of the above

Comment

Answer: Option [B]

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