Which Is The Correct Syntax To Call A Member Function Using #1166
Which is the correct syntax to call a member function using pointer?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Assigning Object, Pointer to Objects, Passing and Returning Object - OOPs MCQ: Pointer to Objects - Quiz No.2.
Which is the correct syntax to call a member function using pointer?
pointer->function()
pointer.function()
pointer::function()
pointer:function()