Give code to assign the string "Wilbur's brother Orville" to the member item of the variable to which head points. Hint: you need a function declared in cstring.
Given the structure definition:
```
const int STRING_SIZE = 20;
struct ListNode
{
char item[STRING_SIZE];
int count;
ListNode *link;
};
ListNode *head = new ListNode;
```
```
strcpy(head->item, "Wilbur's brother Orville");
```
Computer Science & Information Technology
You might also like to view...
Your computer is only as fast as its slowest component.
Answer the following statement true (T) or false (F)
Computer Science & Information Technology
Describe the data dictionary view called DICTIONARY.
What will be an ideal response?
Computer Science & Information Technology
Implement your base class for the hierarchy from the previous exercise.
What will be an ideal response?
Computer Science & Information Technology
In the figure above, the number ____________________ points to the declaration.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology