Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Copyright ITOIT Meditatii SRL
- * Lesson challenge
- */
- #include <iostream>
- using namespace std;
- // Ce afiseaza programul de mai jos?
- void f()
- {
- cout << "f a fost apelat\n";
- }
- int g(int x)
- {
- return x + 2;
- }
- int main()
- {
- int a = 5;
- f();
- cout << g(a);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement