Created
December 2, 2012 13:50
-
-
Save anonymous/4188777 to your computer and use it in GitHub Desktop.
eine Funktion namens t, welche keine Argumente entgegen nimmt und einen Wert vom Typ double zur ̈ckliefert. u
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
double t() | |
{ | |
double a; | |
return a; | |
} | |
int main() | |
{ | |
double a; | |
t(); | |
cout << t() << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment