✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
struct datum {
int main(){ struct datum v[3] = {{2017, 5, 1}, {2016, 12, 24}, {2017, 1, 1}}; struct datum d = {2015, 11, 11};
FILE *fp =fopen("data.bin", "w"); if ( !fp) { return 1; } // TODO: In das File schreiben fclose(fp); return 0;}
Welche Funktionsaufrufe sind notwendig um das Array v und die Variable d hintereinander binär in die geöffnete Datei zu speichern?