patrix7278 patrix7278
  • 13-07-2019
  • Computers and Technology
contestada

The scope of a variable declared in a for loop's initialization expression always extends beyond the body of the loop



True False

Respuesta :

PhantomWisdom PhantomWisdom
  • 17-07-2019

Answer:

False

Explanation:

for loop is used to run the statement again and again until the condition put inside the for loop is false.

syntax:

for(initialization;condition;increment/decrement)

{

  statement;

}

the initialization scope is valid only within the curly braces of the for loop. it is not valid outside the body of the for loop.

because initialization is the part of the for loop.

Answer Link

Otras preguntas

Zinc reacts with nitric acid to produce hydrogen gas and zinc nitrate, Zn(NO3)2. 10.00 grams of zinc react with 7.84 grams of nitric acid. How many grams of exc
the median of 2,2,5,1,6,77​
Mixture Temperature (°C) Mixture 1 3 Mixture 2 -4 Mixture 3 -1 Mixture 4 2. In science class, Emma is measuring the temperature of different chemical mixtures.
it takes half a yard of ribbon to make a bow. how many bows can be made with 7 yards of ribbon?​
Jarred went to the bookstore, He bought a softcover book which was on sale for 10% off. He spent $18 on the book, What was the original price?
Which abolitionist does this headline describe?
The long term survival of any species of organism is possible only if the organisms can
Estimate the deference of 323 and 384 by rounding off to the nearest hundreds Option 1) 300 Option 2)200 Option 3)400
Please help. Will give brainliest!!
Does anyone know what this means?