I am having some trouble dealing with some C code. Can someone explain this syntax:
void some_function(Int16 omegaFlag[2][8])
{
for(i = 0; i < 2; i++)
{
Int16 *Flag = omegaFlag[i] + 1;
for(j = 0; j < k; j++)
{
// do some stuff
*Flag++ = some_integer_value;
}
}
}
1. Why the parameter Int16 omegaFlag[2][8]
passed in some_function()
declares index values? How are they helping the code(in general, not specific to this code)?
2. *Flag++ = some_integer_value;
: What does this line mean?