HackerRank for Work currently supports 35 programming languages. However, the test setter has the flexibility to choose the languages that are allowed for answering a particular question or a test. So, only those languages are available to you as a candidate that are selected by the test setter.
You can refer this page to view the supported languages with their version and other details about our execution environment. This page is available to you while attempting the test.