Page 1 of 1

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
by answerhappygod
Which Statement Best Describes The Effect Of Declaring A Variable Within A C Function Using The Storage Class Static 1
Which Statement Best Describes The Effect Of Declaring A Variable Within A C Function Using The Storage Class Static 1 (15.13 KiB) Viewed 24 times
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.