C what is the dangling pointer? [rps] The concept of dangling pointers arise when an object is deleted or deallocated, without modifying the value of the pointer, so that the pointer still points to the memory …