Is there any problem with the following : char*a=NULL, char& p = *a?
Answer:
The result is undefined. You should never do this. A reference must always refer to some valid object.
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Answer:
The result is undefined. You should never do this. A reference must always refer to some valid object.
need an explanation for this answer? contact us directly to get an explanation for this answer