What will be the output of the following program?
- Address, Address, 3
- Address, 3, 3
- 3, 3, 3
- Compilation error
- None of these
Correct Answer 1)Address, Address, 3
Explanation:
Value of k is memory location defined for k.
Value of *k means the content of memory location which address k keeps.
**k will equal to 3.
As
**k = **(&j) = *(*&j) = *j = *(&i) = *&i = i = 3
0 comments:
Post a Comment