Submitted Questions

  • What is the difference between ++*p and (*p)++

    harpreet sran

    • Nov 15th, 2007

    in ++*p firstly it will move to the incremented address of the pointing variable &from there the value will pick up the value of the variable, then it will assign to the corresponding variable or ...

    Ramakrishna Reddy

    • Oct 26th, 2007

    hi!++*p means prefix of the variable.Ex1:class {int  *p=4;int  *q=++*p;s.o.p(*q);}output:the value of  *q is 5.*p++ means postfix of the variable.Ex2:class{int *p=4;int  *q=*p++;s....