I've got a 90 degree dangle
What is the behavior of this code?
#include <string>
const std::string& get() {
return std::string("hello");
}
int main() {
const std::string& s = get();
// use s
}
Sign in to answer questions and track your progress
Sign In