View Single Post
Old 18 December 2019, 19:04   #10
jotd
This cat is no more
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 48
Posts: 3,654
it's safe only when you're assigning a literal to your pointer. Else, if the area pointed to goes out of scope, anything can happen.
jotd is offline  
 
Page generated in 0.04093 seconds with 11 queries