Can we write a+5=5 in c++.because i saw it in one of the leading guides in India,
Thanks in advance....................
we definitely can not write this in such way. a+5=5 means that a+5 must have meaning of 5, but we can not change the meaning of a+5 in total. Maybe you mean *(a+5) = 5 - this means that if a was a pointer to array, 5th element of array would have meaning of 5. That's it!