Pergunta de entrevista da empresa Bloomberg

What four storage class specifier do we have in C++?

Resposta da entrevista

Sigiloso

14 de mar. de 2016

auto - automatic storage duration. (until C++11) register - automatic storage duration. Also hints to the compiler to place the object in the processor's register. (deprecated) (until C++17) static - static or thread storage duration and internal linkage extern - static or thread storage duration and external linkage thread_local - thread storage duration. (since C++11)