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...


diff between pointer and reference in c++?



diff between pointer and reference in c++?..

Answer / ravi.g

pointers have valid memory but reference does not have
memory

It means pointers points to some address(memory)
Reference does not points to any address(memory)

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C++ General Interview Questions

Explain what you mean by a pointer.

0 Answers   TCS,


If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];

3 Answers  


Write about the retrieval of n number of objects during the process of delete[]p?

0 Answers  


What will happen if a pointer is deleted twice?

0 Answers   Agilent, HAL,


How did c++ get its name?

0 Answers  


What is virtual destructors? Why they are used?

1 Answers  


What are the differences between malloc() and calloc()?

0 Answers  


Explain the static storage classes in c++.

0 Answers  


Why preincrement operator is faster than postincrement?

5 Answers  


Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)

4 Answers   HTC, TCS,


What is functions syntax in c++?

0 Answers  


Difference between overloading vs. Overriding

0 Answers  


Categories