Q. What is the output of this program?

Code:
main()
{
struct
{
int i;
}xyz;
(*xyz)->i=10;
printf(“%d”,xyz.i);
}
  • (A) 10
  • (B) program will not compile
  • (C) address of I
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
192
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
91%
Success Rate