[Tutorialcpp] Verständnisfrage

Alessandro Scozzafava aless_as at hotmail.com
Tue Sep 6 14:15:29 CEST 2016


Bei Schritt 9. Frage 1:


Wie viele arithmetische Ausdrücke hat folgende Anweisung?


std::cout << 4 + 2 << " " << 3 * 8 << std::endl;
std::cout << 6 / 5 + 13 << " " << 1 + 9 * 11 << std::endl;


Sind mit "arithmetische Ausdrücke" alle Ausdrücke gemeint (auch Primärausdrücke) oder nur Ausdrücke mit mathematischen Operatoren?

Wenn ja, was ist die Definition eines arithmetischen Ausdruckes bzw. ab wann gilt ein Ausdruck arithmetisch?


Gruss


Alessandro Scozzafava

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/tutorialcpp/attachments/20160906/595b495b/attachment.html>


More information about the tutorialcpp mailing list