[code]#include <iostream>
#include <cstdlib>
void funk(int *);
const int size=8;
int arr[size]={7,6,8,1,4,3,6,2};

int main()
{
funk(arr);

system("PAUSE");
return 0;
}

void funk(int *a){
for (int j=0; j<size; ++j)
if (a[j]> a[j+1]) cout<<a[j]<<" ";
}[\code]

Why doesn't this part: if (a[j]> a[j+1]) cout<<a[j]<<" "; have to have * before a?