Is there any problem with the following:
char *a=NULL; char& p = *a;?
Answer / 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 |
Explain how functions are classified in C++ ?
Do you know the use of vtable?
What do you mean by persistent and non persistent objects?
What is new in c++?
What is vector string in c++?
What are the various storage classes in C++?
Explain about Garbage Collector?
What is a type library?
What are mutator methods in c++?
How do you remove an element from a set in c++?
When do we use copy constructors?
When does a 'this' pointer get created?