?
What will be the output of the following C code?
What will be the output of the following C code?
#include <stdio.h>
union p
{
int x;
char y;
}k = {.y = 97};
int main()
{
printf("%d\n", k.y);
}
#include <stdio.h>
union p
{
int x;
char y;
}k = {.y = 97};
int main()
{
printf("%d\n", k.y);
}
Join the Discussion
Login to post a comment or share your explanation.
Login