what is difference between static member function and global function and when we should go for each?
AS we don't require object to call static function and also scope for both static and global function is throughout the program then in which situation we should go for each?