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
What are valid signatures for the Main function?
Why array is used in c?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Where are c variables stored in memory?
Why cant I open a file by its explicit path?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
What is getch?
State two uses of pointers in C?
What is a nested formula?
Why isn't any of this standardized in c? Any real program has to do some of these things.
Difference between pass by reference and pass by value?
What is a protocol in c?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
can anyone please tell about the nested interrupts?
how can f be used for both float and double arguments in printf? Are not they different types?