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 array give example?
What is enum class in c++?
What is the cout in c++?
How does class accomplish data hiding in c++?
Describe the syntax of single inheritance in C++?
What is polymorphism & list its types in c++?
How java is different from c and c++?
What is the difference between set and map in c++?
How to demonstrate the use of a variable?
What is the difference between a type-specific template friend class and a general template friend class?
Do you know what are pure virtual functions?
What do you mean by translation unit in c++?
Can constructor be static in c++?
What is the difference between ++ count and count ++?
Can we get the value of ios format flags?