I want to know how I can send my array of structure to a function.
typedef struct {
    char fname[20];
    char lname[20];
    int cnumber[12];
} contact;
contact record[40];
int main()
{
    // I have all the data in the record array as I am reading it from the
    // file and want to pass the record array to the function PRINT and access it.
    print();
}
How can it be send in the function and print all the values using function call?
 
     
    