Question: Jsing a program trace, work out the contents of the data structs d Ind d2 at the end of the program. 1. #include 2. #include

 Jsing a program trace, work out the contents of the data

Jsing a program trace, work out the contents of the data structs d Ind d2 at the end of the program. 1. \#include 2. \#include stdlib.h 3. struct Date { int day, month, year ; }; 4. int main() 5. \{ 6. struct Date 7. d1={26,4,1973}, 8. d2={27,9,2005}, 9. p1=&d1, 10. p2=&d2; 11. p1> day =5; 12. p1=p2; 13. p1> month =11; 14. return 0 ; 15. }

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!