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

Dan walks out of an air-conditioned room into the heat of a summer day, and his body releases excess heat by sweating. This is because of
Should I get somethin' from A. Mcdonalds, B. Wendys, C. Burger King, or D. Olive Garden?
Sam has $372 and Mark has $12.26. What is the difference? Who has more? Make a plan-how will you solve the problem? Show your work
which file access access flag do you use to open a file when you want all output written to the end of file's contents
Choose the steeper line, y=2x+8 or y=4x+2
Evaluate the expression: 2/3-1/4+(-5/6)
describe the visual qualities you see in george caleb bingham’s painting “the county election”. image attached.
How many more people does Germany have than Montana, even though they are about the same size?
Mi perrito (puppy) es ___________________ y cariñoso. alto generoso calvo delgado
Please help!! :) NO LINKS