C - Operators and Expressions Questions and Answers

Practice Mode
Showing 10 of 65 questions
Q31
 Identify the valid expression (s). 
  • A a = 0
  • B a = b= 0
  • C a% = (x % 10)
  • D all the above
Answer: Option D
Q32
 Explicit type conversion is known as 
  • A casting
  • B coercion
  • C options a and b
  • D upward type conversion
Answer: Option C
Q33
 Which expression yields correct value for the expression 1/3 ?
  • A 1. / 3
  • B (float) 1/3
  • C options a and b
  • D float (1/3)
Answer: Option C
Q34
 The associativity of ++ operator is 
  • A right to left
  • B left to right
  • C a for arithmetic expression and b for pointer expression
  • D a for pointer expression and b for arithmetic expression
Answer: Option A
Q35
 the associativity of assignment operators is. 
  • A right to left
  • B left to right
  • C a for arithmetic expression and b for pointer expression
  • D a for pointer expression and b for arithmetic expression
Answer: Option A
Q36
 The associativity of comma operator is 
  • A right to left
  • B left to right
  • C option a for arithmetic expression and b for pointer expression
  • D option a for pointer expression and b for arithmetic expression
Answer: Option B
Q37
 the associativity of ! operator is 
  • A right to left
  • B left to right
  • C option a for arithmetic expression and b for pointer expression
  • D option a for pointer expression and b for arithmetic expression
Answer: Option A
Q38
 The associativity of ~ opeator is 
  • A right to left
  • B left to right
  • C option a for arithmetic expression and b for pointer expression
  • D option a for pointer expression and b for arithmetic expression
Answer: Option A
Q39
 the associativity of indirection operator is 
  • A right to left
  • B left to right
  • C option a for arithmetic expression and b for pointer expression
  • D option a for pointer expression and b for arithmetic expression
Answer: Option A
Q40
 The associativity of bitwise AND, OR XOR is 
  • A right to left
  • B left to right
  • C option a for arithmetic expression and b for pointer expression
  • D option a for pointer expression and b for arithmetic expression
Answer: Option B
Questions and Answers for Competitive Exams Various Entrance Test