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

If you want to share several functions or variables in several files maitaining the consistency how would you share it?

0 Answers  


What is c++ try block?

0 Answers  


Should the member functions which are made public in the base class be hidden?

0 Answers  


how to find the maximum of 10 numbers ?

5 Answers  


What is a hash function c++?

0 Answers  


What is the output of the following 3D Array int arr[3][2][2]={1,2,3,4,5,6,7,8,9,10,11,12}; what is the output for arr[2][1][0]?

6 Answers   HCL, Integra, IPMC, ORG,


What is anonymous object in c++?

0 Answers  


Explain selection sorting. Also write an example.

0 Answers  


Is sorted c++?

0 Answers  


Why Pointers are not used in C++?

0 Answers   Global Logic,


Can you Mention some Application of C/C++?

0 Answers  


Why is c++ still popular?

0 Answers  


Categories