#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 the correct declaration of main?
Is there sort function in c?
how to make a scientific calculater ?
Do you know the purpose of 'register' keyword?
Explain the Difference between the New and Malloc keyword.
What is array within structure?
Explain the difference between strcpy() and memcpy() function?
Explain what is the most efficient way to store flag values?
Differentiate between calloc and malloc.
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Does * p ++ increment p or what it points to?
show how link list can be used to repersent the following polynomial i) 5x+2
What is a far pointer in c?
what are bit fields? What is the use of bit fields in a structure declaration?
Explain about C function prototype?