Is there any problem with the following code
char *a=NULL;
char& p = *a;
ANS :-The result is undefined. You should never do this. A reference must always refer to some object.
No comments:
Post a Comment
comment on this post
Note: Only a member of this blog may post a comment.
‹
›
Home
View web version
No comments:
Post a Comment
comment on this post
Note: Only a member of this blog may post a comment.