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

What is the quotient of -1 4/5 and 2 1/4?
Search results for "A shipment of 18 cars, some weighing 3,000 pounds, and the others weighing 5,000 pounds each. Together the shipment has a total weight of 30
List 3 commercial uses of sponges.
What is the quotient of -1 4/5 and 2 1/4?
Why does land heat up more faster than water?
C(squared)L(squared) + 100v(squared) = 100c(squared)I have to solve for L
What kind of particles make up compound
List 3 commercial uses of sponges.
List 3 commercial uses of sponges.
Search results for "A shipment of 18 cars, some weighing 3,000 pounds, and the others weighing 5,000 pounds each. Together the shipment has a total weight of 30