Sail E0 Webinar
Question
Find the output of the following program.void main(){ int i=10; /* assume address of i is 0x1234ABCD */ int *ip=&i; int **ipp=&&i; printf("%x,%x,%x", &i, ip, *ipp); }
Options:
A .  Syntax error
B .  0x1234ABCD, 0x1234ABCD, 0x1234ABCD
C .  Runtime error
D .  0x1234ABCD, 0x1234ABCD, 10
E .  0x1234ABCD, 10, 10
Answer: Option A

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