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 is std namespace in c++?

0 Answers  


Does c++ have foreach?

0 Answers  


Why use of template is better than a base class?

0 Answers  


What do you mean by C++ access specifiers ?

1 Answers  


What is pair in c++?

0 Answers  


What is the precedence when there is a global variable and a local variable in the program with the same name?

0 Answers  


Define a program that reads two matrices of size 3x3 with real values from the user then prints their sum, difference and multiplication.

0 Answers   TCS,


What is functions syntax in c++?

0 Answers  


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,


What number of digits that can be accuratly stored in a float (based on the IEEE Standard 754)? a) 6 b) 38 c) An unlimited number

0 Answers  


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

0 Answers  


Does c++ vector allocate memory?

0 Answers  


Categories