#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 / swastika chatterjee
32
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
what are the advantages of a macro over a function?
Without Computer networks, Computers will be half the use. Comment.
What is the general form of #line preprocessor?
How is a structure member accessed?
How pointers are declared?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
In C programming, what command or code can be used to determine if a number of odd or even?
What is character constants?
Do you know what are bitwise shift operators in c programming?
Tell me can the size of an array be declared at runtime?
What is a sequential access file?
What is 2c dna?
Where register variables are stored in c?
What is the right type to use for boolean values in c? Is there a standard type?