#include <iostream>
int main() {
int ab;
int* pq=&ab;
ab=5;
std::cout << "ab: " << ab <<std::endl;
std::cout << "pq: " << *pq <<std::endl;
*pq = 10;
std::cout << ab <<std::endl;
std::cout << *pq <<std::endl;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: