Assuming ptr is a pointer variable, what will the following statement output?

```
cout << *ptr;
```

a. the value stored in the variable whose address is contained in ptr
b. the string "*ptr"
c. the address of the variable whose address is stored in ptr
d. the address of the variable stored in ptr
e. None of these


a. the value stored in the variable whose address is contained in ptr

Computer Science & Information Technology

You might also like to view...

Which type of printer has tiny nozzles used to spray ink onto paper?

A) Laser B) Bubble jet C) Dot-matrix D) All these printer types have this feature.

Computer Science & Information Technology

Compare and contrast RIP with RIPng

What will be an ideal response?

Computer Science & Information Technology

What type of testing procedure involves the tester(s) analyzing the company's security policy and procedures, and reporting any vulnerabilities to management?

A. penetration test B. security test C. hacking test D. ethical hacking test

Computer Science & Information Technology

An image's character and tone determine the shape of the histogram. Some images will be lighter and their histograms will be bunched on the ____________________.

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

Computer Science & Information Technology