Question 105Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)

Which of the following is a relational operator in the C programming language?

  1. A&&
  2. B!
  3. C!=
  4. D||
Show answerHide answer

Correct answer: (C) !=

Explanation

!= (not equal to) is a relational operator. && and || are logical AND/OR, and ! is logical NOT.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM)

This is question 105 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 1 (8:30 AM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.