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 |
What are static member functions?
What issue do auto_ptr objects address?
Explain pass by value and pass by reference.
Do inline functions improve performance?
What is using namespace std in c++?
Define 'std'.
What is c++ try block?
Explain the difference between abstract class and interface in c++?
Define friend function.
What is function declaration in c++ with example?
Explain polymorphism?
What is else syntax in c++?