dangling pointer example. There are any references about dangling pointer example in here. you can look below.