// Struct I #include #include struct Song{ char artist[256]; char name[256]; int length; }; void printSong(struct Song song){ printf("%s, by the %s, length=%d seconds\n", song.name, song.artist, song.length); } int main(){ struct Song myMusic[10]; struct Song tmp; strcpy(tmp.artist, "psb"); strcpy(tmp.name, "I wouldn't normally do this kind of thing"); tmp.length = 183; for(int i=0; i<10; i+=1){ myMusic[i] = tmp; } printSong( myMusic[1] ); return 0; }