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.

```
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...

What is the output of the following program?

``` public class Test { public static void main(String[] args) { int[][] values = {{3, 4, 5, 1}, {33, 6, 1, 2}}; int v = values[0][0]; for (int[] list : values) for (int element : list) if (v > element) v = element; System.out.print(v); } } ``` a. 1 b. 3 c. 5 d. 6 e. 33

Computer Science & Information Technology

A(n) ________ function uses a function as an argument in another function

A) surrounded B) nested C) embedded D) implanted

Computer Science & Information Technology

The selected task in the accompanying figure is ____.

A. Assign resources to preliminary investors B. Develop preliminary investigation C. Analyze vendor landscape and options D. Preliminary Investigation Completed

Computer Science & Information Technology

OS X's Disk Utility is used for which of the following? (Choose all that apply.)

a. disk repair b. backup c. partition d. erase

Computer Science & Information Technology