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

Can you write the algorithm for Queue?

1544


What is ## preprocessor operator in c?

607


What does void main return?

597


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2382


What is the use of void pointer and null pointer in c language?

619






How is = symbol different from == symbol in c programming?

603


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

1485


What is const volatile variable in c?

565


What is difference between structure and union?

591


What is meant by gets in c?

598


How can I swap two values without using a temporary?

606


Write a code to generate divisors of an integer?

627


Differentiate call by value and call by reference?

560


How do we print only part of a string in c?

579


Explain how can I read and write comma-delimited text?

641