8.582
Bearbeitungen
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Jneug (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 102: | Zeile 102: | ||
|- | |- | ||
!Index | !Index | ||
| | | 0 || 1 || 2 || 3 || 4 || 5 | ||
|} | |} | ||
2. | 2. | ||
{| class="wikitable" | {| class="wikitable code text-center" | ||
!Inhalt | !Inhalt | ||
| 0 || 0 || 0 || 0 || 4 || 0 | | 0 || 0 || 0 || 0 || 4 || 0 | ||
|- | |- | ||
!Index | !Index | ||
| | | 0 || 1 || 2 || 3 || 4 || 5 | ||
|} | |} | ||
3. Das Array hat die Größe 6, daher sind gültige Indizes für die Elemente 0,1,2,3,4,5. Die Zuweisung <code>zahlen[6] = zahlen[6]</code> erzeugt daher einen Fehler. | 3. Das Array hat die Größe 6, daher sind gültige Indizes für die Elemente 0,1,2,3,4,5. Die Zuweisung <code>zahlen[6] = zahlen[6]</code> erzeugt daher einen Fehler. | ||
4. | 4. | ||
{| class="wikitable" | {| class="wikitable code text-center" | ||
!Inhalt | !Inhalt | ||
| 8 || 9 || 10 || 0 || 4 || 0 | | 8 || 9 || 10 || 0 || 4 || 0 | ||
|- | |- | ||
!Index | !Index | ||
| | | 0 || 1 || 2 || 3 || 4 || 5 | ||
|} | |} | ||
5. | 5. | ||
{| class="wikitable" | {| class="wikitable code text-center" | ||
!Inhalt | !Inhalt | ||
| 8 || 9 || 10 || 0 || 4 || 8 | | 8 || 9 || 10 || 0 || 4 || 8 | ||
|- | |- | ||
!Index | !Index | ||
| | | 0 || 1 || 2 || 3 || 4 || 5 | ||
|} | |} | ||
6. | 6. | ||
{| class="wikitable" | {| class="wikitable code text-center" | ||
!Inhalt | !Inhalt | ||
| 8 || 9 || 10 || 6 || 4 || 8 | | 8 || 9 || 10 || 6 || 4 || 8 | ||
|- | |- | ||
!Index | !Index | ||
| | | 0 || 1 || 2 || 3 || 4 || 5 | ||
|} | |} | ||
6. | 6. | ||
{| class="wikitable" | {| class="wikitable code text-center" | ||
!Inhalt | !Inhalt | ||
| 10 || 11 || 12 || 15 || 16 || 17 | | 10 || 11 || 12 || 15 || 16 || 17 | ||
|- | |- | ||
!Index | !Index | ||
| | | 0 || 1 || 2 || 3 || 4 || 5 | ||
|} | |} | ||
{{Lösung:End}} | {{Lösung:End}} | ||