Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Is there any problem with the following:

char *a=NULL; char& p = *a;?



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

Post New Answer

More C++ General Interview Questions

Why use of template is better than a base class?

0 Answers  


What is a pdb file?

0 Answers  


Why do we need templates?

0 Answers  


Explain polymorphism?

0 Answers  


How should a contructor handle a failure?

0 Answers  


What is the c++ code?

0 Answers  


What is public, protected, private in c++?

0 Answers  


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?

3 Answers   Accenture, HP,


Does c++ cost money?

0 Answers  


Write any small program that will compile in "C" but not in "C++"?

4 Answers  


What is the Diffrence between a "assignment operator" and a "copy constructor"?

3 Answers   Wipro,


Categories