Assembler and ANSI C are the two most common languages for robot programing but not the only ones.
Since you are new just spend some time reading through the threads on this forum. You'll then get an idea of which programming languages people here use.