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 is std namespace in c++?
Does c++ have foreach?
Why use of template is better than a base class?
What do you mean by C++ access specifiers ?
What is pair in c++?
What is the precedence when there is a global variable and a local variable in the program with the same name?
Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.
What is functions syntax in c++?
Implement a 2 dimensional array by one dimentional array
What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number
Does there exist any other function which can be used to convert an integer or a float to a string?
Does c++ vector allocate memory?