fardinhaque5065 fardinhaque5065
  • 12-08-2019
  • Computers and Technology
contestada

A foreach statement can be used in place of the for statement whenever code looping through an array requires "access" to the counter. True or False?

Respuesta :

flightbath flightbath
  • 17-08-2019

Answer:

False

Explanation:

Foreach is useful when we want to do something for each element rather than repeating something for  n times

Answer is False

Answer Link

Otras preguntas

i am sure_____you know me.
A historical source can be deemed unreliable if the author appears to unfairly favor a particular side or viewpoint. In this case, the source is called
Why did Charlotte Perkins Gilman use first-person narration in her short story "The Yellow Wallpaper"? to help readers better follow the developments in the sto
In addition to the Elk Dogs, what does the old spirit chief give to Long Arrow? A. A rainbow-colored belt and a black medicine robe B. A leather belt and
How is the sentence your voice is like bells over roofs at dawn written in the poem "prime" meaning conveyed
what will be the perimeter and the area of the rectangle below if it is enlarged using a scale factor of 3.5? 6 cm 8 cm perimeter = 98 cm area 588 cm perimeter
Caravaggio's chiaroscuro technique inspired many painters of his generation. What was this technique?
Because feudalism had never been firmly established in Italy, growing city-states were able to A.appeal to the central government for assistance with expansion
75 millimeters into a decimeter
WHAT IS 8.437 ROUNDED TO THE NEAREST WHOLE NUMBER?