A static variable is defined in a function.Can v destroy its memory outside that function?
Solution
If you're talking about C, then no you can't "destroy its memory" - all your static variables are going to be around for as long as your program is running.