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 are the difference between reference variables and pointers in C++?



What are the difference between reference variables and pointers in C++?..

Answer / hrpynux@gmail.com

Pointers: A pointer is a variable that holds memory address of another variable. ... References : A reference variable is an alias, that is, another name for an already existing variable. A reference, like a pointer, is also implemented by storing the address of an object.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is stream and its types in c++?

0 Answers  


Write a function to find the nth item from the end of a linked list in a single pass.

0 Answers   Huawei,


Can you pass an array to a function in c++?

0 Answers  


Is c++ a low level language?

0 Answers  


Which of the following is evaluated first: a) && b) || c) !

0 Answers  


Does c++ have finally?

0 Answers  


Write a program to find the Fibonacci series recursively.

0 Answers   Huawei,


What is type of 'this' pointer? Explain when it is get created?

0 Answers  


What do you mean by pure virtual functions in C++? Give an example?

1 Answers  


Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours &#8722; 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.

1 Answers  


What is a constructor initializer list and when we use constructor initializer list?

3 Answers   Soft Info, TCS,


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

0 Answers  


Categories