Programming Languages C Objective
Jan 03, 2013

Output of the program is ?

main()
{
struct
{
int i;
}xyz;
(*xyz)->i=10;
printf("%d",xyz.i);
}

Choose the correct answer:
A) address of i
B) garbage value
C) Error of Compiler
D) 10
Detailed Explanation

The above code print the value of i. So the answer is 10.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback