Use the alternative notation to rewrite (*ptr).year = 1998;

What will be an ideal response?


ptr->year = 1998;

Computer Science & Information Technology

You might also like to view...

Stack is implemented using arrays. Create a new stack class that extends vector. Note that the vector is now the storage for data in the stack. A stack is a vector, because stack extends vector. Draw the UML diagram for the classes. Implement it.

``` template class Stack { public: Stack(); bool empty() const; T peek() const; void push(T value); T pop(); int getSize() const; private: T elements[100]; int size; }; ```

Computer Science & Information Technology

Which of the following is a block-level container that does not have any formatting associated with it but is used with an ID or class to apply CSS styles?

A. divide B. div C. split D. table

Computer Science & Information Technology

The Record Macro command records your actions in the Visual Basic for Applications programming language

Indicate whether the statement is true or false

Computer Science & Information Technology

Acuity refers to the level of severity of an affliction

Indicate whether the statement is true or false

Computer Science & Information Technology