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.

Answer Posted / swastika chatterjee

32

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the advantages of a macro over a function?

1193


Without Computer networks, Computers will be half the use. Comment.

2357


What is the general form of #line preprocessor?

1039


How is a structure member accessed?

1195


How pointers are declared?

1011


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?

1106


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?

1557


In C programming, what command or code can be used to determine if a number of odd or even?

1097


What is character constants?

1231


Do you know what are bitwise shift operators in c programming?

1155


Tell me can the size of an array be declared at runtime?

1085


What is a sequential access file?

1245


What is 2c dna?

1131


Where register variables are stored in c?

1002


What is the right type to use for boolean values in c? Is there a standard type?

1061