#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

Explain enumerated types in c language?

602


What are pointers? What are stacks and queues?

576


Who developed c language and when?

584


What is p in text message?

538


What standard functions are available to manipulate strings?

560






Why is python slower than c?

600


What do you mean by a local block?

630


Are comments included during the compilation stage and placed in the EXE file as well?

672


What is infinite loop?

628


What are global variables and explain how do you declare them?

576


What is structure padding in c?

626


Can a variable be both constant and volatile?

558


a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none

723


write a program to rearrange the array such way that all even elements should come first and next come odd

1760


What is a program flowchart and explain how does it help in writing a program?

673