There is no fixed limit of size of an integer in c.
It depends upon machine.
@ifour TechnoLab Pvt. Ltd.
Hi,
the maximum size of array is limited by the amount of memory a program can access, so if you have 32bit machine then it can access 2^32 which is roughly 4GB, similarly for 64bit machine it will be 2^64
Given an unordered array A of size n and integer x. What is the best complexity to find two elements in A whose sum is x? Share the algo, its complexity and if possible C code.
int arr[ ] = { 1, 2 }; p = arr; /* p is pointing to arr */
How pointer p will behave ?