Medium
Overloads on int&, const int&, and int&&
What does this program print?
main.cpp
#include <iostream>
void f(int&) { std::cout << "lvalue\n"; }
void f(const int&) { std::cout << "const lvalue\n"; }
void f(int&&) { std::cout << "rvalue\n"; }
int main() {
int x = 1;
const int cx = 2;
f(x);
f(cx);
f(5);
f(std::move(x));
}8 of 117 in C++