Question: data structer Question 4 Not yet answered A class Secret has a public attribute named info of type double. Consider the following definitions and answer
data structer 
Question 4 Not yet answered A class Secret has a public attribute named info of type double. Consider the following definitions and answer the question below Secret Obji, *Obj2; Marked out of 2.00 Flag question which of the following code segments can be used to set the attribute info of Obj1 to 3.75. Note: You can select multiple answers but wrong answers will be penalized. Select one or more: Obj2 = &Obj1; (*obj2)->info = 3.75; Obj2 = &Obj1; Obj2->info = 3.75; Obj2 = Obj1; Obji.info = 3.75; obj2 = sobj1; Obj1->info = 3.75; Obj2 = gobji; ("obj2).info = 3.75; ob 2 = sobj1; +Obj2->info = 3.75 Obj2 = Obj1; Hob2.info = 3.75; NEYT PACE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
