Pointers | Sololearn: Learn to code for FREE!

+4

Pointers

Why this code give this answer? char a='a',b='b'; char *p=&a; char *&r=p; r=&b; Cout<<*p; Answer=b

9/1/2018 3:16:54 PM

Yas

2 Answers

New Answer

+4

One different type of help. You should tag appropriately. If you tag C++, that'll attract people who see Q&A with filter.

+2

thankyou Tind &Roneel ,answer &advice .