Computer Science, asked by sarkarsid, 9 months ago

Assume num1=10. Which of the following is not a valid statement?
O num1>>2.
O num1%=2;
O num1<<2;
O num1<<<2​

Answers

Answered by rawatakshita60
58

Answer:

d.)

Explanation:

<<< is not an operator.

>>> is an operator

Answered by ravilaccs
0

Answer:

The correct answer is option D

Explanation:

The explanation for the Correct answer:

Incase of the option D

num &lt;  &lt;  &lt; 2

The given statement is not false. The invalid operator is used in the statement. Hence the correct answer is option D

The explanation for the Incorrect answer:

Option A:

num1 &gt;  &gt; 2. The given statement is True. The operator is used in the statement.

Option B:

num1 %=2 The given statement is true. The operator is used in the statement.

Option C:

num1 &lt;  &lt; 2. The given statement is true. The operator is used in the statement.

Similar questions