3 ms·
Of course, this is perfectly good C: const char *f() { return "abc"; } void g() { const char * s = f(); puts(s); } Nothing tempor
by mtdewcmu 13y ago
Of course, this is perfectly good C:
const char *f() { return "abc"; }
void g() {
const char * s = f();
puts(s);
}
Nothing temporary is created at all. It's rather convenient.