NCSOFT interview question

explain c++ reference variable, where is this variable located in memory? compare with java