// Uppgift: Hur fungerar egentligen funktionsanrop och exekveringstacken, var lagras lokala variabler? // Nyckelord: GÖR INTE SÅ HÄR! #include using namespace std; void get() { int a, b, c; cin >> a >> b >> c; } void oups() { double d1 = 5.0; float f = 3.0; double d2 = 7.0; } void put() { int a, b, c; cout << a << ", " << b << ", " << c; } int main() { cout << "Mata in tre heltal: "; get(); /// oups(); // breaks the program... is oups() wrong?? put(); cout << endl; return 0; }