C - Operators and Expressions

C - Operators and Expressions
31.  Identify the valid expression (s). 
  • a = 0
  • a = b= 0
  • a% = (x % 10)
  • all the above
Show Answer
32.  Explicit type conversion is known as 
  • casting
  • coercion
  • options a and b
  • upward type conversion
Show Answer
33.  Which expression yields correct value for the expression 1/3 ?
  • 1. / 3
  • (float) 1/3
  • options a and b
  • float (1/3)
Show Answer
34.  The associativity of ++ operator is 
  • right to left
  • left to right
  • a for arithmetic expression and b for pointer expression
  • a for pointer expression and b for arithmetic expression
Show Answer
35.  the associativity of assignment operators is. 
  • right to left
  • left to right
  • a for arithmetic expression and b for pointer expression
  • a for pointer expression and b for arithmetic expression
Show Answer
36.  The associativity of comma operator is 
  • right to left
  • left to right
  • option a for arithmetic expression and b for pointer expression
  • option a for pointer expression and b for arithmetic expression
Show Answer
37.  the associativity of ! operator is 
  • right to left
  • left to right
  • option a for arithmetic expression and b for pointer expression
  • option a for pointer expression and b for arithmetic expression
Show Answer
38.  The associativity of ~ opeator is 
  • right to left
  • left to right
  • option a for arithmetic expression and b for pointer expression
  • option a for pointer expression and b for arithmetic expression
Show Answer
39.  the associativity of indirection operator is 
  • right to left
  • left to right
  • option a for arithmetic expression and b for pointer expression
  • option a for pointer expression and b for arithmetic expression
Show Answer
40.  The associativity of bitwise AND, OR XOR is 
  • right to left
  • left to right
  • option a for arithmetic expression and b for pointer expression
  • option a for pointer expression and b for arithmetic expression
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test