Programming Languages C Objective
Mar 07, 2013

#include<stdio.h>

struct student

{

static int a;

register int b;

auto int c;

extern int d;

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

void main()

{

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

}

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

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

No Explanation

Discussion (0)

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

Share Your Thoughts
Feedback