Respuesta :

Answer:

Assignment Operator

Member Selection Operator

Explanation:

Assignment Operator is useful to assign some value to the instance variables of classes. We can use this operator directly on the class.

example:

Simple s=new Simple();

s.salary=9000;

Member Selection operator is useful to select a member of the class.

below code explains Member Selection operator

example:

Test s;

Test *pS = new Test();

s.f() ;  //call function using non-pointer object

pS->f();