
Patrick B. answered 09/29/20
Math and computer tutor/teacher
the danger is that when get_val terminates,
the local var x goes out of scope and the address
becomes invalid
Bloodshed dev c++ shows 210, which is the expected result,
but that is by LUCK