Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#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.

Answers were Sorted based on User's Feedback



#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union un..

Answer / swastika chatterjee

32

Is This Answer Correct ?    3 Yes 2 No

#include<stdio.h> #include<conio.h> struct stu { int i; char j; }; union un..

Answer / rohit

84

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More C Interview Questions

how does printf function work

1 Answers  


Are the expressions * ptr ++ and ++ * ptr same?

0 Answers  


What are the applications of c language?

0 Answers  


What are the valid places to have keyword “break”?

0 Answers  


How to add two numbers with using function?

4 Answers  


what are you see during placement time in the student.

0 Answers   Goldman Sachs, TCS, Tech Solutions,


What are the 4 types of organizational structures?

0 Answers  


N O S I E R + A S T R A L ---------------- 7 2 5 6 1 3

3 Answers   Honeywell,


Why header files are used?

0 Answers  


WHAT WILL BE OUTPUT OF BELOW CODE . . AND PLEASE EXPLAIN HOW IT COME .. #include<stdio.h> #include<conio.h> void main() { int k=20; printf("%d%d%d%d",k,k++,++k,k); getch(); }

25 Answers  


Why doesn't C have nested functions?

2 Answers  


Write a function to find the area of a triangle whose length of three sides is given

2 Answers  


Categories