Programming Languages, Cpp, Software Development, Coding, Optimization.
variable names x and y are lvalues. Notably, any name of a variable, function, template parameter object or data member is an lvalue. The variables x and y are distinct entities, and indeed we can verify this fact using an assert (line 2). The integer constants are prvalues, both of the constants