> in number; to receive the keyboard input from a user and p” aria-describedby=”b7v”> QUESTION 13 Suppose you have a programmer-defined class called Data and want to overload the QUESTION 12 I have an object created on the heap. The pointer ptr a1 is pointing at it. What is the correct C++ statement to call the get name method of this object to get the name attribute of this object? (a) ptr_a1.get_name(: (b) *ptr_a1.get_name(): (c) (*ptr_a1).get_name(): (d) *ptr_a1).get name: (e) *ptr_a1.get_name; None of (a) through (e) above is the correct answer QUESTION 15 We write the C++ statements: int in number = 1; cin >> in number; to receive the keyboard input from a user and put it into the variable in number. If the user keys in 1599.874 and hits ENTER. What would the variable, in number, hold immediately after the input is received? (a) 1 (b) 1600 (c) The ENTER character (d) the program will end with an execution error and in number will become undefined (e) 1599 (fo (g) 1599.9 (h) None of (a) through (g) is the correct answer. QUESTION 16 When a request is made through a base-class pointer or reference to use a virtual function, C++ chooses the correct overridden function in the appropriate derived class associated with the object. (a) True (b) False

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now