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 do you mean by function pointer?
How can a called function determine the number of arguments that have been passed to it?
What is an explicit constructor?
What is a dangling pointer?
What are compilers in c++?
How can I learn c++ easily?
What happens if a pointer is deleted twice?
What is iterator in c++?
Is map ordered c++?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
What happens when you make call 'delete this;'?
Is c++ an oop?