what is the use of reference variable

Answer Posted / aatish maskariya

c++ supports one more type of variable called reference
variable.In addition to pointer variable and value variable
of creference variable behaves similar to both vaule
variable and pointer variable.reference variable has all
acces that variable has.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we make string upper case or lower case?

782


Can we call the constructor of a class more than once for an object?

834


How to Sort Strings which are given in List and display in ascending order without using java api.

4086


FOR EXAMPLE WE R HAVING TWO LIST ELEMENTS ..BOTH LISTS CONTAINS ID,NAME,PLACE ..I NEED TO COMPARE BOTH IDS IN TWO LISTS,IF ID'S R SAME MEANS WE HAVE ADD THE DETAILS(LIKE NAME,PLACE) TO MAP...HOW IS POSSIBLE ?CAN ANY ONE SUGGEST?

2976


Explain the difference between association, aggregation and inheritance relationships.

814


What is appletviewer?

803


What is final access modifier in java?

824


What is meant by class?

767


Is set ordered?

735


What is dynamic binding(late binding)?

797


What is void in java?

816


What is scope of a variable?

830


Explain wrapper classes in java?

757


What is main method?

772


What is dot operator?

792