Pregunta de entrevista de Vantor

When would you use a static variable and static member function