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 |
Why use of template is better than a base class?
What is a pdb file?
Why do we need templates?
Explain polymorphism?
How should a contructor handle a failure?
What is the c++ code?
What is public, protected, private in c++?
What is your strongest programming language (Java, ASP, C, C++, VB, HTML,C#, etc.)?
24 Answers Infosys, Microsoft, TCS,
What and all can a compiler provides by default?
Does c++ cost money?
Write any small program that will compile in "C" but not in "C++"?
What is the Diffrence between a "assignment operator" and a "copy constructor"?