Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged dangling-pointers
3
votes
0
answers
1
UGC NET CSE | September 2013 | Part 3 | Question: 65
Consider the following sequence of operations: Pointer p1 is set to point at a new heap-dynamic variable. Pointer p2 is assigned p1's value The heap dynamic variable pointed to by p1 is explicitly de-allocated but p2 is not changed ... becomes a dangling pointer Both p1 and p2 are now dangling pointers Neither p1 nor p2 is now a dangling pointer
Consider the following sequence of operations:Pointer p1 is set to point at a new heap-dynamic variable.Pointer p2 is assigned p1’s valueThe heap dynamic variable point...
go_editor
738
views
go_editor
asked
Jul 24, 2016
Programming and DS
ugcnetcse-sep2013-paper3
programming-in-c
dangling-pointers
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register