logo

Crowdly

Die Ausgabe der folgenden beiden Schleifen ist identisch? $cars = array("Volvo",...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Die Ausgabe der folgenden beiden Schleifen ist identisch?

$cars = array("Volvo", "BMW", "Toyota");

Schleife 1

for($i = 0; $i < count($cars); $i++) {

    echo $cars[$i];

    echo "<br>";

}

Schleife 2

foreach($cars as $c) {

    echo $c;

    echo "<br>";

}

0%
0%
More questions like this

Want instant access to all verified answers on moodle.tsn.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!