int *p; p= new int; int &refval= *p;
Answer: It's valid C++. You're binding a reference to an l-value of type int. Thus, refval becomes an alias of *p.
Please enable Javascript in your browser, before you post the comment! Now Javascript is disabled.
Your name/nickname
Your email
WebSite
Subject
(Maximum characters: 1200). You have 1200 characters left.