Can we pass pointer of a class to a function?