Given the definitions,

```
int *p1, *p2;
p1 = new int;
p2 = new int;
```
You are to compare and contrast the two assignments.
```
a) p1 = p2;
b) *p1 = *p2

```
What will be an ideal response?


```
a) Makes p1 point to the same place in memory to which p2
points. Orphans memory p1 did point to.
b) Makes data where p1 points the same as the data where p2 points.
```

Computer Science & Information Technology

You might also like to view...

Some mathematical operations, such as addition, subtraction, multiplication, and division, do not require functions.

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

Computer Science & Information Technology

The ____ file function causes the DO/S File Manager to use a master directory with information about all files stored anywhere on the system and set up a channel to the file.

A. Find and Open B. Read C. Write D. Create

Computer Science & Information Technology

In project management terminology, which of the following refers to the chronological representation of the time it will take to bring a project to completion?

A. storyboard B. objectives C. timeline D. wireframe

Computer Science & Information Technology

WAV stands for ____________________ File Format.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology