I have an integer array and I want to fill it.
int* a=new int[7];
but I want to check at first if the element a is set before or not.
Ex.
a[3]=2;
a[3] has value but all elements in a hasn't have any value until now, How can I know that??
I tried
if(a==NULL) but it doesn't work