What is structure packing ?
Answers were Sorted based on User's Feedback
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 |
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.
How we can set and clear bit in a byte using macro function?
To what value do nonglobal variables default? 1) auto 2) register 3) static
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
what does data structure mean?
struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??
How will you delete a node in DLL?
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.
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
What is %lu in c?
Can the size of an array be declared at runtime?
What is %d used for?