Link to home
Start Free TrialLog in
Avatar of arijit_rebaca
arijit_rebaca

asked on

Query on Static function

Hi all,

Which one takes more memory a static function or a non static function and why?

thanks
Avatar of F. Dominicus
F. Dominicus
Flag of Germany image

None, why should there be  a difference?

Regards
Friedrich
Avatar of srinims
srinims

both will take the same memory
non static variable might have a multiple occurance. but non static function will have only only one occurance.
ASKER CERTIFIED SOLUTION
Avatar of PaulCaswell
PaulCaswell
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial