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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started