Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void doSomething();
- char useFunctions()
- {
- doSomething();
- somethingElse();
- return 'c';
- }
- int somethingElse()
- {
- cout << "I will never happen :(";
- return -1;
- }
- int main()
- {
- useFunctions();
- return 0;
- }
- void doSomething()
- {
- cout << "I work if you don't call somethingElse() from useFunctions";
- }
Add Comment
Please, Sign In to add comment