int value = 10;
int& reference = value;
int* pointer = &value;

PrintInfoByRef(*pointer);
PrintInfoByPointer(&reference);