I'm sending array to function `frekvens_of_array` and the size of it. Problems is it keeps telling me that I can't compare a `pointer` and an `int`. I try to insert new unique number into `frekvens` and add 1+ to hit every time number comes up in `alanyzed_array`

When I build this program, I'm getting errors and warnings like those below.

> 
> `if(frekvens[j] != analyzed_arr[i])`
>  warning: comparision between pointer and integer [enable by default]
> 
> 
> `frekvens[j] = analyzed_arr[i];` error: incompatible types when assaigning to type 'int[1]' from type 'int'
> 
> 
> 

```
int frekvens_of_array(int analyzed_arr[100], int array_size){
  int frekvens[100][1];
  int i = 0;
  int j = 0;
  int n = 0;
  int hit = 0;

  for(i = 0; i < array_size; i++){

    if(frekvens[j] != analyzed_arr[i]){
        frekvens[j] = analyzed_arr[i];

        for(n = 0; n < array_size; n++){
            if(frekvens[j] == analyzed_arr[n]){
                hit++;

            }

        }
        frekvens[j][0] = hit;
        j++;
    }

  }

  return 0;
}

int main(void){
int ange_tal_array[100];
int array_size = 100;

frekvens_of_array(ange_tal_array, array_size);
return 0;
}

```