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



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

Answer / rashmi

12 1

Is This Answer Correct ?    7 Yes 10 No

Post New Answer

More C Interview Questions

which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 Answers   Assurgent, TCS,


what is the significance of static storage class specifier?

0 Answers  


What are the types of arrays in c?

0 Answers  


Is linux written in c?

0 Answers  


Explain 'bit masking'?

0 Answers   EXL,






1. Write a program to reverse every second word in a given sentence.

1 Answers  


program to locate string with in a string with using strstr function

2 Answers   Huawei, Shreyas,


Differentiate between a structure and a union.

0 Answers   Zensar,


Why is c not oop?

0 Answers  


Explain the use of 'auto' keyword

0 Answers  


How many main () function we can have in a project?

0 Answers  


Dont ansi function prototypes render lint obsolete?

0 Answers  


Categories