Question: Questions on pointer. Thanks 10. Write cout statement to display 25 using pointer variable, not data variable. vold *Pointer int Data = 25; Pointer& Data
10. Write cout statement to display 25 using pointer variable, not data variable. vold *Pointer int Data = 25; Pointer& Data 11. Write cout statement to display 67.89 using pointer variable, not data variable. void *Pointer, double Data = 67.89; Pointer & Data; 12. Write cout statement to display character 'A' using pointer variable, not data variable. void *Pointer; char Data = 'A'; Pointer = & Data; 13. Write cout statement to display string "Farzeen" using pointer variable, not data variable void Pointer; string Data "Parzeen", Pointer = & Data; 14. Suppose the address of memory location addressed by X is 002F0OFC What is the result of the output cout for the following statements? int X; int "XPtr XPtr++ Cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
