Filters
Question type

Study Flashcards

A dangling pointer is a pointer


A) to a block of memory that has been deleted.
B) that has been declared, but has not yet been assigned a value.
C) that has not been initialized.
D) that has been assigned the value of null or null_ptr.
E) None of the above

F) C) and E)
G) C) and D)

Correct Answer

verifed

verified

A pointer may be initialized with


A) the address of an existing object of the appropriate type.
B) the value of a floating-point constant.
C) the value of a floating-point variable.
D) All of the above
E) None of the above

F) A) and D)
G) B) and D)

Correct Answer

verifed

verified

Showing 61 - 62 of 62

Related Exams

Show Answer