GDB debugger (HQ)
Loading...
5,270
Loading...
There is no Interactive Transcript.
Top Comments
see all
All Comments (4)
-
@kannahpally if val > 0, it goes to the first statement where *ptr has no memory allocated (null pointer dereference) this will cause a segmentation fault. To fix the problem it should have
ptr = (char *) malloc (10);
before *ptr = 0;
-
Sir, the video is excellent. can you please show the solution to the problem you have demonstrated?. This will fill the gap. thanks a lot for nice material
Loading...
i really appreciate ur effort ... thanks a lot for the information ...
expecting lots of work from u...
arivukolunthu 2 years ago 3
thank you for this video
jivealways 11 months ago 2