Skip to content

Commit a31dc6f

Browse files
committed
Minor refactor
1 parent 526eada commit a31dc6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/08_pointers.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ int main() {
100100
std::cout << "pointers are equal\n";
101101
}
102102

103+
// 7. Будьте бдительны!
104+
int* bad_pointer; // хранит в себе адрес на "мусорный" участок памяти (непонятно куда указывает)
105+
103106
return 0;
104107
}
105108

0 commit comments

Comments
 (0)