Question: Given the following C++ struct: struct DataRec int one; long two; double three; char four 30]; DataRec arr[3](1,3,5.6, ABC), (6,8, 34.5, def), (5,7-106.56, ghijk) DataRec
Given the following C++ struct: struct DataRec int one; long two; double three; char four 30]; DataRec arr[3](1,3,5.6, "ABC"), (6,8, 34.5, "def"), (5,7-106.56, "ghijk") DataRec *p arr What is the output from the statement? cout threeendl; Execute the two statements and then write the output. a. b. cout four
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
