#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 a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Why C language is a procedural language?
What is void main ()?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
Compare and contrast compilers from interpreters.
Which type of language is c?
Can a variable be both const and volatile?
what are # pragma staments?
What is New modifiers?
How main function is called in c?
Is stack a keyword in c?
How many bytes is a struct in c?
In a switch statement, what will happen if a break statement is omitted?
What is indirection? How many levels of pointers can you have?
What is pointer & why it is used?