Write a statement where a pointer and an indirection operator are used to assign a value to a variable. Write a statement where a data value is accessed by using the indirection operator–pointer combination.
What will be an ideal response?
```
int a, b;
int *p_a;
p_a = &a;
*p_a = 3; // 3 is assigned where p_a is pointing, which is the int a
b = *p_a; // the value that p_a is pointing to is assigned into b
```
You might also like to view...
In a ________ chart, narrow rectangles represent data by their length and are oriented horizontally instead of vertically
A) column B) bar C) line D) trendline
Which of the following is a digital modem-like device used by ISDN to connect a PC?
A. DSL modem B. terminal adapter C. data communications equipment D. ITU
Documents downloaded from a website typically open in Protected View
Indicate whether the statement is true or false
The blind copy of the purchase order that goes to the receiving department contains no item descriptions.
Answer the following statement true (T) or false (F)