Hello,
I need to define an array statically (in a *.h) file of size 12884901888 like.
unsigned char sram[12884901888]; //All of my code is C.
Above declaration gives error and does not work.
Because constants used in array declarations are unsigned int. But the constant i need to use (12884901888) is larger than the unsigned int limit.
How can i define the array as above, of size 12884901888 ?
Thank you.
-AD
P.S. I know many will say, optimize on that humongous array size, but i need to use same for some reason specific to my case.