Question: What is the potential problem for the following code? Select one option. char * bytes = cse 3 0 0 3 ; free (
What is the potential problem for the following code? Select one option.
char bytes "cse;
freebytes;
Choice of :The code creates a dangling pointer.
Choice of :The code does not use free properly and the free operation won't work.
Choice of :The code does not free all the memory allocated and may cause a memory leak.
Choice of :There is no problem.
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
