Is there a way to specify default arguments to a function in C?
Not really. The only way would be to write a varargs function and manually fill in default values for arguments which the caller doesn't pass.