lifetime tag

1 questions


1 answers
111 views
0
What is the lifetime of the static variable in the c++ function?

As far as I know, the static variable defined in the scope of the function is initialized only once and remains even after the function endsWhat is the exact lifetime?When exactly are the constructors...

1 years ago

© 2024 OneMinuteCode. All rights reserved.