You can allocate as much bytes as type size_t has different values. So in 32-bit application it is 4GB in 64-bit 16 I don't even know how to call that size
All in all you can allocate all memory of machine.
What is the optimize way to allocate memory to 2D array dynamically ??
Is there any alternate function is available?
What is the difference between Pipe and FIFO?