Programming Languages
C
Objective
Mar 07, 2013
#include<stdio.h>
static struct student
{
int a;
int b;
int c;
int d;
}s1={6,7,8,9},s2={4,3,2,1},s3;
void main()
{
s3=s1+s2;
clrscr();
printf("%d %d %d %d",s3.a,s3.b,s3.c,s3.d);
getch();
}
What will output when you compile and run the above code?
Detailed Explanation
No Explanation
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts