Let's say we have the following a struct defined as follows:
struct
{
int month;
int day;
int year;
} date;
Could I somehow implement a function that took as an argument a struct of the same type as date, even though it hasn't been named explicitly? In other words, would I be able to make a function call to some random function like randomFunction (date)
? In that case, how would the header of that function look like, since there is no name for the struct type of date
?
Thanks in advance :)