Modernes C++ programmieren

Okt 23, 2024

lst-0024-book.cpp

// https://godbolt.org/z/r5hjrqqK9 
#include <iostream>
int main() {
    int var = 10;
    var += 2;
    var *= 3;
    var /= 4;
    var -= 5;
    std::cout << var << "\n"; // ergibt 4
}