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

Rick has 12 action, 15 comedy, and 9 drama DVDS. find the ratio of action DVDS to the total of DVDS. Then explain its meaning how would I do this problem?
Rick has 12 action, 15 comedy, and 9 drama DVDS. find the ratio of action DVDS to the total of DVDS. Then explain its meaning how would I do this problem?
You are standing 100 Meters away from your car when an alligator appears 20meters away from you on the opposite side and you start to run with a speed of 5m/s w
Danny reads 4 pages of a book each day.After 12 days, hes still has 82 pages left to read.How many pages does the book have?
What condition fostered the rise of absolute monarch in europe?
What is the abbreviation for the Appalachian mountain
Why isn't badminton consider a sport to most of the people in United States?
the bottom of a ladder must be placed 5 feet from a building. the ladder is 14 feet long. how far above the ground does the ladder touch the wall?
Could an organism survive without one of its organs
Sin42cos17-cos42sin17