Is there any problem with the following:
char *a=NULL; char& p = *a;?
Answer Posted / neelam saini
The result is undefined. You should never do this. A reference must always refer to some object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is tellg () in c++?
What is a static member?
What is a string example?
How to tokenize a string in c++?
What is the difference between struct and class?
What is ifstream c++?
Please explain class & object in c++?
Is java the same as c++?
What is the difference between global variables and static varables?
What are c++ files?
Is c++ an oop?
Why is standard template library used?
What is constant in c++ with example?
Is c++ a high level language?
What are move semantics?