Question: Code must be written with C++ | Define a struct named time. Attributes of structure: Day (Integer pointer) Month (integer pointer) Year (integer pointer) In
Code must be written with C++

| Define a struct named time. Attributes of structure: Day (Integer pointer) Month (integer pointer) Year (integer pointer) In main function. Take day, month and year information from user. After that, use a pointer struct from same structure (time struct). Assign first struct to struct pointer. Then, ask user to change the value of the day and print the updated result. Note: You will make changes on the second struct that you copied from first struct., input day: 3 input month: 10 input year: 1994 day: month:year = 3:10:1994 change day: 5 day:month:year = 5:10:1994 Process exited after 15.57 seconds with return value o Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
