Lst Minute Flashcards
(2 cards)
1
Q
Initialising float
A
float number = 0.0f;
2
Q
What is a dangling pointer and how do we handle it
A
What) pointer that is pointing at a memory address that has been deallocated
How to handle) set to = nullptr; after the underlying object has been deallocated