Home › Forums › C Programming › Lvalue and Rvalue › Re: Re: Lvalue and Rvalue
April 13, 2010 at 7:52 pm
#3650
GWILouisaxwzkla
Participant
For an R-value violation you could do this:
1 2 3 4 5 6 7 8 9 10 | <br /> void func ( int i );<br /> <br /> int main()<br /> {<br /> int i = func ( 3 );<br /> <br /> }<br /> <br /> |
pretty sure that would constitute a R-value violation…….