Question: What will be the output of the following C code? #include $$ int main() { int $mathbf{A} []={77,23,45,67,89}$; int * $mathbf{p t r}=boldsymbol{&} mathbf{A}[0]$; printf(result-

What will be the output of the following C code? #include $$ int main() \{ int $\mathbf{A} []=\{77,23,45,67,89\}$; int * $\mathbf{p t r}=\boldsymbol{\&} \mathbf{A}[0]$; printf("result- %d", * $(\mathrm{ptr}+2)$ ); return 0; Select one: a. result $=45$ b. result $=66$ c. result $=27$ d. result $=85$ CS.VS. 1042
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
