You are not logged in.
Pages:: 1
#1 2015-09-12 06:22:20
C Language Pointer Quiz:
C Programming Quizzes C Language Pointer
Question:
#include<stdio.h>
void main()
{
int *ptr, a=10;
ptr = &a;
*ptr += 1;
printf("%d, %d", *ptr, a);
}
Option A):
10, 10
Option B):
10, 11
Option C):
11, 11
Option D):
11, 10
Correct Answer is Option C):
11, 11
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-12 06:22:20
- Advertisement
- Ads By Google
Re: C Language Pointer Quiz:
Pages:: 1