Question: (1) You have defined a structure date via: struct date { int year; int month; int day; }; and have furthermore declared and initialised a

 (1) You have defined a structure date via: struct date \{int year; int month; int day; \}; and have furthermore declared and

(1) You have defined a structure date via: struct date \{ int year; int month; int day; \}; and have furthermore declared and initialised a variable today via: struct date today ={2018,6,30} Now you'd like to print out the date that is stored in the variable today. How do you do this using the following print statement? printf("Today's date is \%4d/\%02d/\%02d. ", [year], [month], [day]); day printf("Today's date is \%4d/\%02d/\%02d. In", [year ], [month], [day]); You need to replace [year] with: You need to replace [month] with: You need to replace [day] with

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!