0
Is it possible to reset the increasing value of static variable
Suppose we have a static variable inside a function. Its value keeps changing whenever i call the function, based on the code inside function. How to i reset that variable to its initial value without affecting function's logic.
1 Respuesta
0
Can you share the code?