Computer Science, asked by 918328048342, 2 months ago

how to declare a pointer to class and an object in c++​

Answers

Answered by jayantgandate
0

Answer:

Just like Other Pointers, the object pointers are declared by placing in front of a object pointer's name. The Syntax is: class_name * Object_pointer_name; In above Syntax, class_Name is the name of an already defined class and object_pointer_name is the pointer to an object of this class type.

Similar questions