Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <vector>
- using namespace std;
- int tmp(int a, int b) {
- cout << a << " " << b << "\n";
- return a;
- }
- int tmp(int a, int b, int c) {
- cout << "23424";
- return c;
- }
- int main()
- {
- int a = 2;
- int b = 3;
- int c = 4;
- cout << tmp(a, b) << " \n";
- cout << tmp(a, b, c) << " \n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement