Answer Posted / nashiinformaticssolutions
#pragma provides compiler-specific instructions.
Example:
#pragma pack(1) // Forces 1-byte alignment for structures
struct Example {
char a;
int b;
};
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Do pointers store the address of value or the actual value of a variable?
What are loops in c?
Why is #define used?
What is scope of variable in c?
Why is struct padding needed?
What is calloc in c?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Which header file is used for clrscr?
Explain main function in c?
Explain output of printf("Hello World"-'A'+'B'); ?
What does the format %10.2 mean when included in a printf statement?
How do I determine whether a character is numeric, alphabetic, and so on?
Can we assign integer value to char in c?
What is meant by initialization and how we initialize a variable?
What is bash c?