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

If you have ever read Harriet the spy can you answer this question. Harriets neighbors, the Robinsons, have a collection of
Which of the following statements describes the population distribution of the United States?
Why does peter jennings call the 1980s “a decade of revolution and renewal?”?
6×z-4 When z=4 i need help on my math home work help
HELP PLZ What is the equation of the graph below? Write in slope intercept form.
Could someone please tell me the answer to A with a proper explanation please? I think I have the answer but I'm not sure.
Where inside the body does HIV multiply? in the respiratory tract in B cells in helper T cells in the liver
What's the answer ?????
Can u pls help me in this problem
At the start of school year, Mario stocked up on school supplies, which included lined filler paper and number two wood pencils. He bought three packs of paper