21 November 2022 07:00 PM
A static variable is a variable that has been allocated ‘statically’ meaning that its lifetime is the entire run of the program.