logo

Crowdly

Browser

Add to Chrome

struct datum {      int jj, mm, tt; } ; ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

struct datum

{

     int jj, mm, tt;

} ;

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?

0%
0%
0%
More questions like this

Want instant access to all verified answers on ecampus.fhstp.ac.at?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome