Programming Languages C Objective
Mar 07, 2013

#include<stdio.h>

extern struct student

{

int a;

    int b;

    int c;

int d;

}s={6,7,8,9};

void main()

{

clrscr();

printf("%d %d %d %d",s.a,s.b,s.c,s.d);

getch();

}

What will output when you compile and run the above code?

Choose the correct answer:
A) 9876
B) 11111
C) 6789
D) Compiler error
Detailed Explanation

No Explanation

Discussion (0)

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

Share Your Thoughts
Feedback