Differentiate between pointers and objects