Function parameter with type but no ~~symbol~~ identifier?

Recently this surprised me

void myFunction(int OK, int)
{
  Serial.println(OK);
}

void setup()
{
  Serial.begin(115200);

  Serial.print("Hello World ");
  myFunction(42, 777);
}

void loop() {}

It compiles without warning and prints

Hello World 42

So... what is it called so I can google and find out why it flies?

Or 'splain it here if it is simple enough.

a7

There's some good discussion of why you'd want to do that to be found here:

Perfect, THX.

a7

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.