How does = actually work in C++?

Recently, I’ve been learning a bit more C++, and I stumbled upon a question from getcracked.io. Although I knew about lvalues, rvalues, and…