You are not logged in.
- Index
- » Quiz Questions
- » Syntax Error:
- 0
Pages:: 1
#1 2015-09-12 06:37:57
Syntax Error:
C Programming Quizzes C Language Pointer
Directions:
void main()
{
int i=10; /* assume address of i is 0x1234ABCD */
int *ip=&i;
int **ipp=&&i;
printf("%x,%x,%x", &i, ip, *ipp);
}
Question:
Find the output of the following program.
Option A):
0x1234ABCD, 0x1234ABCD, 0x1234ABCD
Option B):
Syntax error
Option C):
0x1234ABCD, 10, 10
Option D):
0x1234ABCD, 0x1234ABCD, 10
Correct Answer is Option B):
Syntax error
You cannot discover the new oceans unless you have the courage to lose the sight of the shore.
Offline
2015-09-12 06:37:57
- Advertisement
- Ads By Google
Re: Syntax Error:
\n
Pages:: 1