Is there a way to define an array inside a function argument in C? Something like this:
void arraysomething(double vec[2]){
//do something...
}
int main(){
arraysomething({1.,2.});
return 0;
}
I searched all over the place and found nothing.