#include #include using namespace std; /* Referencje sa to aliasy (inne nazwy) do tych samych obiektow. Referencja jest forma wskaznika. Przyklad: Jest dana zmienna "x" typu int. Tworzymy do tej zmiennej referencje "y" i obliczamy ich sume "z". */ int x,z; int main(int argc, char *argv[]) { cout<<"Podaj liczbe calkowita x="; cin>>x; int& y=x; cout<<"Referencja wynosi y="<