I saw in internet that pointer to array and pointer to first element of array are the same things. But in CooCox next call an error:
//Get Arr
uint8_t TestDataArr[10];
//Func get pointer to arr
void InitData (TestPacks *Data)
{
//Some code
}
//This call error
InitData(&TestDataArr)
//But this is norm
InitData(&TestDataArr[0])
Why did it happen?