The comma , items separator used in an array initialization list may end the list in C, this is mentioned in The C Programming Language 2nd ed by Kernighan
,
Section 10.6 of the spec explicitly says that a trailing comma is allowed (and ignored):
A trailing comma may appear after the last expression in an array initializer and is ignored.
Link