Looks like Arduino Mega 2560 works just fine when powered through USB that is connected to a PC.
However, I am a little confused on how exactly does this work. According to the board specifications, the input voltage required is 7-12V. As I understand, USB can provide only 5V output.
Can someone please clear this simple confusion?