Give the output from this code fragment:

```
int *p1, *p2;
p1 = new int; p2 = new int;
*p1 = 10;
*p2 = 20;
cout << *p1 << “ “ << *p2 < *p1 = *p2;
cout <<; *p1 << “ “ << *p2 < *p1 = 30;
cout << *p1 << “ “ <<*p2 < ```
What will be an ideal response?


```
10 20
20 20
30 20
```

Computer Science & Information Technology

You might also like to view...

What are the requirements for the VMM database server?

What will be an ideal response?

Computer Science & Information Technology

Click the ____ button in the Navigation pane to view thumbnail versions of the pages in your document.

A. Browse thumbnails B. Browse the pages in your document C. View thumbnails D. Browse thumbnails in your document

Computer Science & Information Technology

The transparency of the Background layer cannot be changed. _________________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

What makes 2-3-4 trees more attractive than 2-3 trees?

What will be an ideal response?

Computer Science & Information Technology