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;?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array give example?

1106


What is enum class in c++?

1320


What is the cout in c++?

1104


How does class accomplish data hiding in c++?

1226


Describe the syntax of single inheritance in C++?

1120


What is polymorphism & list its types in c++?

1117


How java is different from c and c++?

1257


What is the difference between set and map in c++?

1178


How to demonstrate the use of a variable?

1159


What is the difference between a type-specific template friend class and a general template friend class?

1032


Do you know what are pure virtual functions?

1199


What do you mean by translation unit in c++?

1434


Can constructor be static in c++?

1167


What is the difference between ++ count and count ++?

1197


Can we get the value of ios format flags?

1183