Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. void funkcja (string *imie, string *nazwisko)
  6. {
  7. cin >> *imie >> *nazwisko;
  8. }
  9.  
  10. int main ()
  11. {
  12. string imie, nazwisko;
  13. funkcja(&imie, &nazwisko);
  14. cout << imie << " " << nazwisko;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement