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 two types of functions in c?

1006


What are the 4 types of unions?

1034


What are reserved words with a programming language?

1135


What is indirection?

1091


Why cant I open a file by its explicit path?

1028


What is pointer to pointer in c language?

1141


Explain how can a program be made to print the name of a source file where an error occurs?

1197


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

1008


What is the use of a semicolon (;) at the end of every program statement?

1495


What math functions are available for integers? For floating point?

1131


What is a newline escape sequence?

1098


what is the function of pragma directive in c?

1116


what do the 'c' and 'v' in argc and argv stand for?

1166


What is a constant and types of constants in c?

1117


Explain how do you determine the length of a string value that was stored in a variable?

1152