#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


Please Help Members By Posting Answers For Below Questions

What is const and volatile in c?

561


What is function prototype?

607


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

605


What is && in c programming?

671


Is c compiled or interpreted?

659






State the difference between realloc and free.

625


What is the general form of a C program?

593


What is an operator?

654


Why use int main instead of void main?

588


how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software

2787


What do you mean by recursion in c?

621


What is difference between union All statement and Union?

628


Differentiate between Macro and ordinary definition.

720


What is meant by type specifiers?

654


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

569