Will the static variable declared in a recursive function be destroyed once the first return executes?
For example:  
int func(int x) {
    static int n;
    // recursive call
}
Will the static variable declared in a recursive function be destroyed once the first return executes?
For example:  
int func(int x) {
    static int n;
    // recursive call
}
 
    
    