static or new
#2

They both require the same space. The only difference is that static acts like a global variable and retains its value between function calls whereas new reinitializes the variable every time.
Reply


Messages In This Thread
static or new - by andyandyy8 - 07.04.2014, 22:35
Re: static or new - by Vince - 07.04.2014, 22:47
Re: static or new - by andyandyy8 - 07.04.2014, 22:54
Re: static or new - by MP2 - 07.04.2014, 22:57
Re: static or new - by Mauzen - 07.04.2014, 23:32

Forum Jump:


Users browsing this thread: 1 Guest(s)