#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
Explain enumerated types in c language?
What are pointers? What are stacks and queues?
Who developed c language and when?
What is p in text message?
What standard functions are available to manipulate strings?
Why is python slower than c?
What do you mean by a local block?
Are comments included during the compilation stage and placed in the EXE file as well?
What is infinite loop?
What are global variables and explain how do you declare them?
What is structure padding in c?
Can a variable be both constant and volatile?
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
write a program to rearrange the array such way that all even elements should come first and next come odd
What is a program flowchart and explain how does it help in writing a program?