#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 two types of functions in c?
What are the 4 types of unions?
What are reserved words with a programming language?
What is indirection?
Why cant I open a file by its explicit path?
What is pointer to pointer in c language?
Explain how can a program be made to print the name of a source file where an error occurs?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
What is the use of a semicolon (;) at the end of every program statement?
What math functions are available for integers? For floating point?
What is a newline escape sequence?
what is the function of pragma directive in c?
what do the 'c' and 'v' in argc and argv stand for?
What is a constant and types of constants in c?
Explain how do you determine the length of a string value that was stored in a variable?