how it is possible to store 10^5 values in array / structure in c ?
1 Like
#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int a[1];
clrscr();
a[[1]=pow(10,5);
getch();
}
int arr[100000];
That’s all
@stasszczesniak & @codehard_123 …I guess we must declare it on the safe side as int arr[100001] or arr[100002] …That is some extra memory blocks …isn’t it ???
1 Like
I think we can store 10^5 values in the very similar way as we do for 5 entries or so…