arraybounds

what is maximum size of array i can use in gcc

Within main() you are allowed to declare array of around 10^6 size.
Globally you can declare upto 10^7-10^8.