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

What are virtual functions in c++?

0 Answers  


Difference between const char* p and char const* p?

1 Answers  


What is a class definition?

0 Answers  


What does asterisk mean in c++?

0 Answers  


Explain what is class definition in c++ ?

0 Answers  


Can we change the basic meaning of an operator in c++?

0 Answers  


What is "map" in STL?

2 Answers  


what is data Abstraction

2 Answers  


Can you sort a set c++?

0 Answers  


Does there exist any other function which can be used to convert an integer or a float to a string?

0 Answers  


What do nonglobal variables default to a) auto b) register c) static

0 Answers  


What is time h in c++?

0 Answers  


Categories