Which of the following statements is correct about the below program?
- 109 97 110
- man
- compiler Error
- Run time Error
- None Of these
Correct answer
Explanation:
s[i], i[s] are different ways of expressing the same idea. Generally, the array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base address. So, printing it with i[s] is the same as s[i].
0 comments:
Post a Comment