MathWorks interview question

How will you call an api in cpp?