adplus-dvertising
frame-decoration

Question

Which of the following is not an arithmetic operation?

a.

a *= 10;

b.

a /= 10;

c.

a != 10;

d.

a %= 10;

Answer: (c).a != 10;

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following is not an arithmetic operation?

Similar Questions

Discover Related MCQs

Q. Which of the following data type will throw an error on modulus operation(%)?

Q. Which among the following are the fundamental arithmetic operators, i.e, performing the desired operation can be done using that operator only?

Q. Are logical operators sequence points?

Q. Does logical operators in C language are evaluated with short circuit?

Q. Result of a logical or relational expression in C is

Q. Which among the following is NOT a logical or relational operator?

Q. Relational operators cannot be used on:

Q. When double is converted to float, the value is?

Q. Function tolower(c) defined in library works for

Q. Which type conversion is NOT accepted?

Q. What will be the data type of the result of the following operation?

(float)a * (int)b / (long)c * (double)d

Q. Which of the following type-casting have chances for wrap around?

Q. Which of the following typecasting is accepted by C?

Q. When do you need to use type-conversions?

Q. For which of the following, “PI++;” code will fail?

Q. What is the type of the below assignment expression if x is of type float, y is of type int?
y = x + y;

Q. What is the value of the below assignment expression

(x = foo())!= 1 considering foo() returns 2

Q. Operation “a = a * b + a” can also be written as:

Q. for c = 2, value of c after c <<= 1;

Q. Which of the following is an invalid assignment operator?