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 tellg () in c++?

1317


What is a static member?

1058


What is a string example?

1106


How to tokenize a string in c++?

1073


What is the difference between struct and class?

1574


What is ifstream c++?

1036


Please explain class & object in c++?

1101


Is java the same as c++?

1002


What is the difference between global variables and static varables?

1151


What are c++ files?

1149


Is c++ an oop?

1113


Why is standard template library used?

1064


What is constant in c++ with example?

1164


Is c++ a high level language?

1018


What are move semantics?

1175