MCQs on Operator in C

Hello students welcome to CSE Study247 , Today I am provide you MCQs on Operator in C.

This page provide 20 Multiple choice question with Answer that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview, TCS , Railway & another Government Sector)

❤️ TOP 500+ C Programming Question and Answer

C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.

C-Programming-MCQ-Multiple-Choice-Questions

C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.

Q.1 In the expression 'a + b', what are 'a' and 'b'?

  • A) Operator
  • B) Operand
  • C) Both A & B
  • D) None

Q.2 In the expression 'a + b', what is the '+' symbol?

  • A) Operator
  • B) Operand
  • C) Both A & B
  • D) None

Q.3 Which of the following is an example of a relational operator in C?

  • B) >
  • C) !=
  • D) All of these

Q.4 Are ++ and -- considered unary operators?

  • A) True
  • B) False
  • C) May be
  • D) None

Q.5 The symbol '!=' is an example of which type of operator?

  • A) Relational
  • B) Logical
  • C) Assignment
  • D) Conditional

Q.6 Find the output: void main() { int x = 45%10; printf('%d', x); }

  • A) 4
  • B) 4.5
  • C) 5
  • D) Error

Q.7 Which of the following operators is used to determine the memory size of a variable?

  • A) Logical operator
  • B) Increment Operator
  • C) Sizeof operator
  • D) None

Q.8 Which of the following is a logical operator?

  • B) ==
  • C) &&
  • D) >=

Q.9 To which values can the modulus operator (%) be applied in C?

  • A) float values
  • B) double values
  • C) integer values
  • D) None

Q.10 Find the output: void main() { float x = 8; printf('%f', x); }

  • A) 8.000000
  • B) 8.00000
  • C) 8
  • D) 8.0

Q.11 What is the symbol for the bitwise exclusive 'OR' (XOR) operator?

  • A) !
  • B) &
  • C) |
  • D) ^

Q.12 Which of the following expressions is generally executed the fastest by the compiler?

  • A) a++
  • B) ++a
  • C) A=a+2
  • D) Both A & B

Q.13 Which operator has the lowest priority among the following?

  • A) ||
  • B) -
  • C) +
  • D) &

Q.14 Identify the invalid expression among the options.

  • A) ++(x+y)
  • B) a--
  • C) --a--
  • D) ++c+d

Q.15 Find the output: void main() { float x = 4.5 + 5.5; printf('%d', (int)x); }

  • A) 10
  • B) 10.000000
  • C) 9
  • D) Error

Q.18 Which operators are used to access the members of a structure?

  • A) .
  • B) strings
  • C) ”Both
  • D) ”None”

Q.19 What is the '%' operator in C language formally called?

  • A) Modulus
  • B) Percentage Operator
  • C) Division
  • D) None

Q.20 Find the output: void main() { double y = 12.6; int x = 10; int z = x + y; printf('%d', z); }

  • A) 22.6
  • B) 22
  • C) 23
  • D) Error
S.NOMCQSET-1SET-2
1Data TypesCLICK
2OperatorCLICKCLICK
3Control StructureCLICKCLICK
4Looping StructureCLICK CLICK
5ArrayCLICKCLICK
6FunctionCLICKCLICK
7PointerCLICKCLICK
8Structure and UnionsCLICKCLICK
9C Interview MCQCLICKCLICK

1. Official TelegramClick Here
2. Telegram For CSE MCQsClick Here
3. You TubeClick Here
Scroll to Top