Why is it possible to list variables of the same type together when defining variables in C language, but not to define parameters?

void print_time(int hour, minute)
{
    printf("%d:%d\n", hour, minute);
}

defining parameters of the same type will result in an error. Why does the C language specify this?

C
Nov.19,2021

should be in order to clearly express the specific meaning of each parameter and to prevent confusion. In the past, there was another way to write:

.
void print_time(int hour, minute, isHourStartFromZero)
{
    if (isHourStartFromZero) {
      printf("%d:%d\n", hour + 1, minute);
    } else {
      printf("%d:%d\n", hour, minute);
    }
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9fd4c-1a87.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9fd4c-1a87.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?