UNI_Python/ha_12/quick_code.cpp
2024-02-13 12:15:42 +01:00

13 lines
217 B
C++

#include <iostream>
int main() {
int x = 2;
int* y = &x;
std::cout << x << std::endl;
std::cout << &x << std::endl;
std::cout << y << std::endl;
std::cout << *y << std::endl;
return 0;
}