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
0
Hi there,
void main() { int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++; }
option B is correct.
void main() { int a[10], i, *p; a[0] = 1; a[1] = 2; p = a; (*p)++; }
option B is correct.
Answered by
0
(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)(^_-)
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯
╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝
ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı
◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆
▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
╭╼╾╼╾╼╾╼╾╼╾╼╾╼╾╮
┃ ┈┈ [_Hɪ Mᴀᴛᴇ_] ┈┈┈ ┃
╰╼╾╼╾╼╾╼╾╼╾╼╾╼╾╯
╔═══❁═❀═✪═❀═❁════╗
......Here You Go Ur Answer......
╚═══❁═❀═✪═❀═❁════╝
ıllıllıllıllıllıllı[ Your Answer ]ıllıllıllıllıllıllı
◆━━━━━◆♤◆━━━━━◆
☆Correct | ♤ | Option☆
◆━━━━━◆♤◆━━━━━◆
▂▃▅▇█▓▒░[ Hope It Helps You Dear ]░▒▓█▇▅▃▂
Similar questions
Math,
7 months ago
English,
7 months ago
Physics,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago