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

Explain how functions are classified in C++ ?

0 Answers  


Do you know the use of vtable?

0 Answers  


What do you mean by persistent and non persistent objects?

1 Answers  


What is new in c++?

0 Answers  


What is vector string in c++?

0 Answers  


What are the various storage classes in C++?

0 Answers   Fidelity,


Explain about Garbage Collector?

0 Answers  


What is a type library?

0 Answers  


What are mutator methods in c++?

0 Answers  


How do you remove an element from a set in c++?

0 Answers  


When do we use copy constructors?

0 Answers  


When does a 'this' pointer get created?

0 Answers  


Categories