Can you change yarn in the middle of a row knitting?
If you run out of yarn in the middle of a row, your options are the same: Tie a temporary knot with both yarns, leaving 4- or 5-inch (10- to 13-centimeter) ends; or knit the next stitch with both strands, drop the old one, and continue knitting from the new ball.