The President may grant, to such person as he thinks fit, a commission as an officer, or as a junior commissioned officer or appoint any person, as a warrant officer of the regular Army