You are not logged in.
Pages:: 1
#1 2015-09-12 06:52:40
Execution Of Program:
C Programming Quizzes C Language Pointer
Directions:
void main()
{
int a[10], i, *p;
a[0] = 1;
a[1] = 2;
p = a;
(*p)++;
}
Question:
Which of the following statements are true after execution of the program.
Option A):
a[1] = 2
Option B):
a[0] = 2
Option C):
a[1] = 3
Option D):
a[0] = 3
Correct Answer is Option B):
a[0] = 2
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-12 06:52:40
- Advertisement
- Ads By Google
Re: Execution Of Program:
\n
Pages:: 1