View Single Post
Pro contributor
9Nov2009,14:32  
Mridula's Avatar
Yes. Both can be done.
i.e. Checking the validity of a pointer just before returnng to callee in called method or
checking it in callee itself just before using it.

I think first way better!!