main()
{
struct test
{
char c;
int i;
char m;
} t1;
printf("%d %d\n", sizeof(t1), sizeof(t1.c));
}

Answer Posted / rashmi

12 1

Is This Answer Correct ?    7 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why doesnt long int work?

606


Write a code on reverse string and its complexity.

599


What is the difference between new and malloc functions?

572


Why we not create function inside function.

1742


How to create struct variables?

584






What is the importance of c in your views?

586


Explain what is the difference between the expression '++a' and 'a++'?

623


c program to compute AREA under integral

1799


What are the disadvantages of a shell structure?

685


What is pointers in c?

642


What are the advantages of using Unions?

642


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

664


Do variables need to be initialized?

616


What is c standard library?

687


What are c header files?

573