A
Q. What is the output of this code?
Code:
struct s {
int a;
char b;
};
int main() {
struct s x = {5, 'A'};
printf("%d %c", x.a, x.b);
}
int a;
char b;
};
int main() {
struct s x = {5, 'A'};
printf("%d %c", x.a, x.b);
}
- Correct Answer - Option(A)
- Views: 19
- Filed under category C Programming
- Hashtags:
Discusssion
Login to discuss.