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

What is the difference between Pointer and a Reference?
When you would use them?

Answer Posted / man

Reference is alias of a variable i.e. a constant pointer
which reference to a variable and can not be NULL.
You can not can get the address of ref. They are used as a
variable.

Pointers are variale that hold address of variable and can
be NULL. And can point to any number of variable.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?

3321


What is c++ manipulator?

1029


Difference between a homogeneous and a heterogeneous container

1206


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1215


what is data abstraction in C++?

1121


How do you decide which integer type to use?

1051


Define stacks. Provide an example where they are useful.

1076


We use library functions in the program, in what form they are provided to the program?

1144


How would perform Pattern Matching in C++?

1316


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1159


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

1290


int age=35; if(age>80) {Console.WriteLine("Boy you are old");} else {Console.WrieLine("That is a good age");}

1325


What are vectors used for in c++?

1142


Write about the access privileges in c++ and also mention about its default access level?

1125


Describe exception handling concept with an example?

1097