I am using the array type approach for solving the broken calculator problem. I’ m taking the array size as INT_MAX. But on execution, it’s giving segmentation fault. But instead of taking INT_MAX as size, if I’ m taking 1000000 as size, then it is working perfectly. Can you tell why? i.e., why INT_MAX is not working as size?