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

find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

2543


which of the following is not an secondary constant a) array b) real c) union

1799


What is cout flush?

1029


What is the return value of the insertion operator?

1127


Is java based off c++?

971


Which is better c++ or java?

982


What is the difference between function overloading and operator overloading?

1111


Describe linkages and types of linkages?

997


When does the c++ compiler create temporary variables?

1042


What is #include ctype h in c++?

1168


daily Routine of father

1409


What is the benefit of learning c++?

986


What is an undefined reference/unresolved external symbol error and how do I fix it?

1122


How to defines the function in c++?

1129


Is main a class in c++?

1004