Is there a function you can use to combine arrays in C. If not, does anyone know how to do it? Also, the two arrays are of different types...char and double.
You cannot combine arrays of different types. Ever.
Well, not exactly I suppose, you could have an array of ints and an array of longs and combine by casting all the ints to longs. But, like kempo said, what are you going to do with it?
[edit]
Keep in mind that the student name fields are pointers and not arrays. You'll have to malloc() and free() space for the names. Or you could just use a fixed-size character array for each name: