#include<stdio.h>
#include<conio.h>
struct stu
{
int i;
char j;
};
union uni
{
int i;
char j;
};
void main()
{
int j,k;
clrscr();
struct stu s;
j=sizeof(s);
printf("%d",j);
union uni u;
k=sizeof(u);
printf("%d",k);
getch();
}
what is value of j and k.
Answers were Sorted based on User's Feedback
how does printf function work
Are the expressions * ptr ++ and ++ * ptr same?
What are the applications of c language?
What are the valid places to have keyword “break”?
How to add two numbers with using function?
what are you see during placement time in the student.
0 Answers Goldman Sachs, TCS, Tech Solutions,
What are the 4 types of organizational structures?
N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3
Why header files are used?
WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }
Why doesn't C have nested functions?
Write a function to find the area of a triangle whose length of three sides is given