abbymal9824 abbymal9824
  • 29-08-2019
  • Computers and Technology
contestada

True or Flase

1.The statement:

loop -= ++count;

has the same effect as the statements:

count = count+1;
loop = loop - count;

Respuesta :

ExieFansler ExieFansler
  • 03-09-2019

Answer:

True.

Explanation:

In statement 1 we have loop-=++count;

which means loop = loop - (++count);

Where ++ is a pre increment operator which increases the value of count by 1 before using it.

In the other statement also we are doing the same thing.

Increasing the count by 1 and decreasing it from the loop variable.

Hence we conclude that the answer is True.

Answer Link

Otras preguntas

Two ploughmen can plough a filed in 10 days. Find the out how long it would take 5 ploughmen to plough the same filed working at the same rate.
I need help with the explanation of A and B
What is passive voice in I will observe proper hygiene regularly
Give exact values, not decimal approximations.
Persuasive messages try to get us to do something. TRUE FALSE
a story of vengeance
3\sqrt{3} + \sqrt{3}
last week, steve made $18.75 an hour. this week, he will get a 8% increase in the amount he makes per hour. what is his pay per hour after the increase?
It cost Layla $4.70 to send 47 text. How many text did she send if she spent $15.10?
What are Monsoon forests?