在C++中,如果使用std::vector并调用sort函数,正确的函数调用是哪个? A. sort(v.begin(), v.end()); B. sort(v.beginO, v.endO); C. sort(v.begin(), v.endO); D. sort(v.beginO, v.end()); 答案解析 本题考查对C++标准库函数的正确使用。正确的函数调用应该是'A'选项。B、C、D选项中'O'应为'o',是明显的语法错误。 正确答案:A