Check The Programming Section
Operator % in C language is called?
Percentage
Quotient
Modulus
Division
Answer: Operator % is called Modulus or Modular or Modulo Division operator in C. It gives the remainder of the division
Output of an arithmetic expression with integers and real numbers is _____by default?
Integer
Real number
Depends on the number
None of the above
Answer: Any arithmetic operation with both integer and real number yield output as real number only.
Can you use C Modulo Division operator % with float and int?
Int variables
Float variables
Int or Float Combination
Numerator int variable, Denominator any variable
Answer: Modulo Division Operator% in C language can be used only with integer variables or constants.
What is the priority of operators *, / and % in C language.?
* > / > %
% > * > /
Both % = / , * are same
All three operator *, / and % are same.
Answer:- Operators multiplication *, Division / and Modulus % having same priority.
What is the use of ++ operator?
Addition
Subtraction
Increment
Multiplication
Answer:- ++ is used for increment
What is the use of !=?
Equal
Unequal
Both of these
None of the above
Answer:- != is used for representation of unequal
Which operator has high preference?
Arithmetic operator
Bitwise Operator
Assignment Operator
Logical Operator
Answer:- Arithmetic operator has high preference as compared to other operators.
Which operator has low preference?
Bitwise operator
Arithmetic operator
Logical operator
Assignment operator
Answer:- Assignment operator has low preference as compared to other operators.
Which operator is used to represent greater than equal to?
>=
<=
<
None of these
Answer:- >= is used for representation of greater than equal to.
What does ++x mean?
x is incremented first then the value of x is then applied
The value of x is applied first then incremented
Both of these
None of the above
Answer:- ++x means x is incremented first the the incremented value of x is applied
What does y++ mean?
The value of y is applied then incremented
y is incremented first then applied
Both of these
None of the above
Answer:- y++ mean the value of y is applied then incremented.
Which type of operator is +, -
Increment operator
Decrement operator
Unary Sign operator
None of these
Answer:- +,- is unary sign operator
Is Assignment operator is used to compare two expression?
True
False
None of these
Answer:- False
Which operator return true value if both operands are true?
&&
&
==
None of these
Answer:- && operator i.e. AND operator
Which operator return true value if its operands is false?
AND
NOT
EQUAL TO
None of these
Answer:- NOT operator.