In C++, When u create a object pointer u have to use ->, this is a syntax. if wewant to use any pointer variable not just objects, we have to use -> foraccessing var.