#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.
Answer Posted / rohit
84
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What is const and volatile in c?
What is function prototype?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is && in c programming?
Is c compiled or interpreted?
State the difference between realloc and free.
What is the general form of a C program?
What is an operator?
Why use int main instead of void main?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
What do you mean by recursion in c?
What is difference between union All statement and Union?
Differentiate between Macro and ordinary definition.
What is meant by type specifiers?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?