| |
Answer/Explaination
:
77
(Exp):
p is pointing to character '\n'. str1 is pointing to character 'a'
++*p. "p is pointing
to '\n' and that is incremented by one." the ASCII value of '\n'
is 10, which is then
incremented to 11. The value of ++*p is 11. ++*str1, str1 is pointing
to 'a' that is
incremented by 1 and it becomes 'b'. ASCII value of 'b' is 98.
Now performing (11 + 98 – 32), we get 77("M");
So we get the output 77 :: "M" (Ascii is 77).
|
|