reference and pointers in c ++

  • Reference in C ++

    Reference in C ++

    a reference variable is an alias, which is another name for an existing variable. when a reference is initialized with a variable, then either the variable name or the reference name can be used to reference that variable.