can some one please explain what is static variable, i tried reading some books, tried googling but i am not able to understand what are its uses.
a static variable retain their value even after the function to which it belongs is executed.
i am not understanding what is meant by that.:confused: