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
Can circle be called an ellipse?
Are vectors passed by reference c++?
What is const in c++?
Is c++ an integer?
what is oops and list its features in c++?
How would you implement a substr() function that extracts a sub string from a given string?
What is a modifier in c++?
Explain the difference between realloc() and free() in c++?
What is else syntax in c++?
How do you find out if a linked-list has an end?
Write a program to find the Fibonacci series recursively.
Explain how we implement exception handling in c++?
What information can an exception contain?
What are the advantage of using register variables?
What are separators in c++?