where static variable stored in memory in c
Static variable In general, static memory allocation is the allocation of memory at compile time, before the associated program is executed, unlike dynamic memory allocation or automatic memory allocation where memory is allocated as required at run time.[1]
Babylon Babylon (
Computer data storage Data are encoded by assigning a bit pattern to each character, digit, or multimedia object. Many standards exist for encoding (e.g., character encodings like ASCII, image encodings like JPEG, video encodings like MPEG-4).
C++ classes Instances of a class data type are known as objects and can contain member variables, constants, member functions, and overloaded operators defined by the programmer.