Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- extern "C" int dodaj(int *wsk1, int y);
- int main()
- {
- int x, y, result;
- cin >> x;
- cin >> y;
- result = dodaj(&x, y);
- cout << "suma = " << result << endl;
- cout << x << endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment