Sail E0 Webinar
Question
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)++;
}
Options:
A .  a[1] = 3
B .  a[0] = 2
C .  a[1] = 2
D .  a[0] = 3
E .  Compilation error
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers