Question: 1. char val[3]; char *ptr; ptr = &val[2]; a. will assign the value in val[2] to the pointer b. will assign the address of val[2]
1. char val[3]; char *ptr;
ptr = &val[2];
a. will assign the value in val[2] to the pointer
b. will assign the address of val[2] to the pointer
c. results both a and b
d. none
2. Referencing a value through a pointer is called:
| a. Redirection | |||||||||||||||||||||||||||||||||||||||||
| b. Indirection | |||||||||||||||||||||||||||||||||||||||||
| c. Rerouting | |||||||||||||||||||||||||||||||||||||||||
| d. Extra-direction 3. _________ type file stream object will allow a program to write data into a file:
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
