InterviewSolution
| 1. |
What Is Static Identifier? |
|
Answer» The static identifier is used for initializing only once, and the value retains during the life time of the PROGRAM / application. A SEPARATE MEMORY is allocated for static variables. This value can be used between function calls. The default value of an uninitialized static variable is zero. A function can also be DEFINED as a static function, which has the same SCOPE of the static variable. The static identifier is used for initializing only once, and the value retains during the life time of the program / application. A separate memory is allocated for static variables. This value can be used between function calls. The default value of an uninitialized static variable is zero. A function can also be defined as a static function, which has the same scope of the static variable. |
|