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

State the difference between delete and delete[].

0 Answers  


What is a block in c++?

0 Answers  


Explain the scope resolution operator?

2 Answers  


What are the manipulators in c++?

0 Answers  


Can we specify variable field width in a scanf() format string? If possible how?

0 Answers  


What do you mean by stack unwinding in c++?

0 Answers  


Explain what you mean by a pointer.

0 Answers   TCS,


What is a forward referencing and when should it be used?

0 Answers  


If all is successful, what should main return a) 0 b) 1 c) void

0 Answers  


what are the iterator and generic algorithms.

0 Answers  


When does a 'this' pointer get created?

0 Answers  


What do you mean by inheritance in c++? Explain its types.

0 Answers  


Categories