The Lord of the Rings : The Return of the King

namespace LOTR {

struct King { string name, nationality; };

King returnTheKing() {
    return King k = { "Aragorn", "Middle-Earth" };
    return k;
}

};
Vote up this code1
  • p

    There should be no “return” in like “King k…”