Lst Minute Flashcards

(2 cards)

1
Q

Initialising float

A

float number = 0.0f;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly