reference defines an alternative name for an object or you can say that it is an alias of a referring object. In programming, we define the reference of an object by using the & with followed by the reference name.
Example,
//create an variable
int data = 6;
//rOffData refer to data
int& rOffData = data;
Answer:
reference defines an alternative name for an object or you can say that it is an alias of a referring object. In programming, we define the reference of an object by using the & with followed by the reference name.
Example,
need an explanation for this answer? contact us directly to get an explanation for this answer