Question: Question 1 6 ( 1 point ) LIsten When it comes to pointers, they are prone to error. One of the biggest sources of this
Question point
LIsten
When it comes to pointers, they are prone to error. One of the biggest sources of this are uninitialized pointers which cause runtime errors. How can we prevent this?
always initialize a pointer to null
always reset pointers when dynamic memory is freed
test if the pointer is valid
all of these
none of these
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
