Which statement best describes the effect of declaring a variable within a C++ function using the storage class static?
Posted: Mon May 02, 2022 12:08 pm
Which statement best describes the effect of declaring a variable within a C++ function using the storage class static? Select one: O A static variable is accessible to all functions. The keyword static is a hint to the compiler that the variable changes rarely. O A static variable can be assigned a value only once. O A static variable retains its value between function calls.