Look up "variable length argument lists".

"printf" uses a variable number of arguments.
Code:
printf("hi");
printf("%d %d", 1, 2);
The prototype for printf is
Code:
int printf(const char *format, ...);