U.S. stocks inched higher for a fifth day on Friday, as declines in real estate and utilities were offset by gains for banking stocks, driven by a rise in 10-year U.S. government bond yields above 3 percent.