You are not logged in.
- Topics: Active | Unanswered
Pages:: 1
#1 2015-09-12 06:38:00
Syntax Error:
http://interviewquestionsanswers.org/quiz/C-Programming http://interviewquestionsanswers.org/qu … ge-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
Failure is the first step towards seccess.
Offline
2015-09-12 06:38:00
- Advertisement
- Ads By Google
Re: Syntax Error:
Pages:: 1