Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyC++string and string_viewSingle-choice MCQ

Why is this line a bug?

std::string_view sv = std::string("temp"); std::cout << sv;