Computer Science, asked by gyaneshsahoo1078, 1 year ago

Which of the following statements are true after execution of the program.

void main() { int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++; }
A.a[1] = 3
B.a[0] = 2
C.a[1] = 2
D.a[0] = 3

Answers

Answered by Avanish010
0
Hi there,

void main() { int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++; }

option B is correct.
Answered by Anonymous
0
<b><font size = "4">(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯

╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝

ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı

◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆

\huge\boxed{\texttt{\fcolorbox{aqua}{grey}{B}}} {\bf{\underline{Answer}}}

<marquee>

▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions