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 are member functions used in c++?
What is stl containers in c++?
Which programming language should I learn first?
What is the difference between public, private, and protected access?
What is ios flag in c++?
What does return 0 do in c++?
What is basic if statement syntax?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
What is the fastest c++ compiler?
What is the precedence when there is a global variable and a local variable in the program with the same name?
How we can differentiate between a pre and post increment operators during overloading?
How do I run c++?
Write a program using display() function which takes two arguments.
What is boyce codd normal form in c++?
Define vptr.