@all thanks

On Fri, Jun 29, 2012 at 6:33 PM, Atul Singh <atulsingh7...@gmail.com> wrote:

>
>
> R-value  - Contents of memory location  ( ie value stored in that memory
> location )
> L-Value  - Name of that memory location
>
> suppose ,  int i=9;   than here* r-value is 9* and* l-value is i* .
>
> Taking *++x++  ..*
> As Postfix ( ++ ) is having higher precendence over Prefix( ++ ) so
> Postfix will be evaluated first.
>
>
> then ++x++    here   *x++ *generates a temporary and you cant apply  *prefix
> ++ *on a temporay  ( generated as a result of an r-value expresiion )    .
> Prefix increment operator requires its operand to be an lvalue ,, and  x++
> isnt an l-value ...that's why it would give error, .
>
>
>
>
> -
> ATul Singh | Computer Science & Engineering| 2008-12 Batch | NIT
> Jalandhar  | 9530739855
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Vindhya Chhabra

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to