C++ Intermediate Practice Test - Question 7

Last Updated :
Discuss
Comments

How to format a string using std::format in C++?

std::format("{0} {1}", arg1, arg2)

std::format("{1} {2}", arg1, arg2)

std::format("{} {}", arg1, arg2)

std::format("{0} {}", arg1, arg2)

Share your thoughts in the comments
Article Tags :