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 |
If you want to share several functions or variables in several files maitaining the consistency how would you share it?
What is c++ try block?
Should the member functions which are made public in the base class be hidden?
how to find the maximum of 10 numbers ?
What is a hash function c++?
What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?
6 Answers HCL, Integra, IPMC, ORG,
What is anonymous object in c++?
Explain selection sorting. Also write an example.
Is sorted c++?
Why Pointers are not used in C++?
Can you Mention some Application of C/C++?
Why is c++ still popular?