
In $\texttt{main()}$:
$\texttt{a = 5}$, $\texttt{b = 10}$
and
$\texttt{p}$ points to $\texttt{a}$.
Now the function call is:
$\texttt{change(\&p, \&b)}$
So, inside the function:
$\texttt{pp}$ points to $\texttt{p}$.
$\texttt{q}$ points to $\texttt{b}$.
First statement:
$\texttt{**pp = **pp + 3}$
Since $\texttt{*pp}$ is $\texttt{p}$, and $\texttt{p}$ points to $\texttt{a}$, this changes $\texttt{a}$.
So,
$\texttt{a = 5 + 3 = 8}$
Second statement:
$\texttt{*pp = q}$
This changes $\texttt{p}$ itself.
Now $\texttt{p}$ no longer points to $\texttt{a}$.
Now $\texttt{p}$ points to $\texttt{b}$.
Third statement:
$\texttt{**pp = **pp + 4}$
Now $\texttt{p}$ points to $\texttt{b}$, so this changes $\texttt{b}$.
So,
$\texttt{b = 10 + 4 = 14}$
At the end:
$\texttt{a = 8}$
$\texttt{b = 14}$
$\texttt{p}$ points to $\texttt{b}$, so $\texttt{*p = 14}$.
$\therefore$ Output : $\texttt{8 14 14}$
Answer: B