Ask Question
1 September, 01:10

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?

+5
Answers (1)
  1. 1 September, 02:18
    0
    False

    Explanation:

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

    Answer is False
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “A foreach statement can be used in place of the for statement whenever code looping through an array requires "access" to the counter. True ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers