Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "pch.h"
- #include <iostream>
- using namespace std;
- void main()
- {
- setlocale(LC_ALL, "Russian");
- cout << "ЭТАП H. НЕЛЬЗЯ ЗАПИСЫВАТЬ ЧТО-ЛИБО В НЕВЫДЕЛЕННУЮ ПАМЯТЬ!" << endl;
- double z = 5.9, *px;
- // *px = 54;
- // px = new double; *px = 54; cout << px << ends << *px << endl;
- // *px = z;
- // px = new double; *px = z; cout << px << ends << *px << ends << &z << ends << z << endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement