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

in sentence 1, every day Ted and i play catch is what
PLEASE HELP!!!11!!! what is the reciprocal of 4 -1/4 1 4 1/4
The wholesale price of a lamp is $44 and will be marked up by 40 percent. What is the retail price of the lamp?
John estimates the value of his car over time. The equation for the line of best fit is approximated asy = –2.9x + 17.7, where y represents the value, in thousa
What occurs when people are exposed to substances that their bodies are sensitive to? histamines allergies antihistamines allergens
No. no tengo sello sobre
Gina has brown eyes. Her mother also has brown eyes, but her father has blue eyes. Most of the people in Gina's town have brown eyes. Gina most likely inherited
Hey i need help please
What MIGHT be a benefit of natural monopolies, or economies of scale?
modernism refers to a number of trends during this period including extensive experimentation with