Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- void funkcja (string *imie, string *nazwisko)
- {
- cin >> *imie >> *nazwisko;
- }
- int main ()
- {
- string imie, nazwisko;
- funkcja(&imie, &nazwisko);
- cout << imie << " " << nazwisko;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement