C - Operators and Expressions

C - Operators and Expressions
1.  The number of binary arithmetic operators in C is 
  • 5
  • 4
  • 6
  • 7
Show Answer
2.  The number of unaryarithmetic operatorsin C is 
  • 1
  • 4
  • 3
  • 2
Show Answer
3. The operator % yields 
  • quotient value
  • remaindervalue
  • percentage value
  • fractional part of the division
Show Answer
4.  The operator / when applied to floatingvalues yields 
  • remainder value
  • negative value of the remainder
  • quotient including fractional part
  • integer quotient value only.
Show Answer
5.  The operator % can be applied only to
  • float values
  • double values
  • options a and b
  • integral values
Show Answer
6.  x % y is equal to 
  • (x -(x/y))
  • (x (x/y)* y)
  • (y-(x/y))
  • (y - (x/y)* y)
Show Answer
7.  The operator / can be applied to 
  • integral values
  • float values
  • double values
  • all the above
Show Answer
8.  The second operand of the operator % must always be 
  • negative value
  • non-zero
  • zero
  • positive value
Show Answer
9.  If both the operands of the operator / are integers, the result is 
  • a float value
  • an integer value
  • option a or b
  • undefined
Show Answer
10.  Integer dividion results in 
  • rounding of thefractional part of the quotient
  • truncating the fractional part of the quotient
  • floating value
  • syntax error
Show Answer
Questions and Answers for Competitive Exams Various Entrance Test