Sunday, July 26, 2009

The -> operator has the effect of which other two operators?

a. * and ++


b. - and %26gt;


c. * and .

The -%26gt; operator has the effect of which other two operators?
-%26gt; that operator usually uses to access a pointer variable inside a structure.





e.g


struct something {


int *p;


};





I am guessing c although i am not really sure if it has any affect on . operator


No comments:

Post a Comment