How to declare automatic variable in static functions and static variable in automatic functions?

Can you please tell me how to declare the automatic variable in the static function and vice versa. I know how to declare separately.

@dave can you please explain this?

In reply to Gowthaman:

function static void static_func_with_auto_var;
  int static_var; // implicitly static
  automatic int auto_var;
endfunction
function automatic void auto_func_with_static_var;
  int auto_var; // implicitly automatic
  static int static_var;
endfunction


All functions declared outside of a class are implicitly function static.
All functions declared inside of a class are implicitly function automatic. (and are not allowed to have a static lifetime)

Thanks Dave