What is structure packing ?

Answers were Sorted based on User's Feedback



What is structure packing ?..

Answer / khaja

packing structures in a place or memory

Is This Answer Correct ?    2 Yes 0 No

What is structure packing ?..

Answer / vijay zanvar

See: http://www.geocities.com/vijoeyz/faq/c/padding.txt

Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/


Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More C Interview Questions

How do we select the big element or any other operation from array which is read dynamically. user need to give the elements only no need to mention the size.

0 Answers  


How we can set and clear bit in a byte using macro function?

2 Answers   L&T, Samsung,


To what value do nonglobal variables default? 1) auto 2) register 3) static

4 Answers  


In the following code segment what will be the result of the function, value of x , value of y { unsigned int x=-1; int y; y = ~0; if(x == y) printf("same"); else printf("not same"); } a) same, MAXINT, -1 b) not same, MAXINT, -MAXINT c) same , MAXUNIT, -1 d) same, MAXUNIT, MAXUNIT e) not same, MAXINT, MAXUNIT

1 Answers   IBM,


what does data structure mean?

8 Answers  






struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

9 Answers   Verifone,


How will you delete a node in DLL?

0 Answers   GrapeCity,


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

0 Answers  


Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc

4 Answers  


What is %lu in c?

0 Answers  


Can the size of an array be declared at runtime?

0 Answers  


What is %d used for?

0 Answers  


Categories