What is the purpose of #pragma directives in C?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / glibwaresoftsolutions
#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 |
what is diff b/w huge & far & near pointer??
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?
can anyone please tell me wat is backlogs... i was looking for the job openings where i read this.. eligibility criteria minimum 70% in degree without backlogs. is that arrear.. if so is it standing arrear or history of arrears... please help me...
11 Answers CTS, Indian Navy, L&T, Microsoft, SSB, TCE, TCS,
difference between my-strcpy and strcpy ?
3 Answers Geometric Software, IIM, Infosys,
Write a program to print the prime numbers from 1 to 100?
Write a program in c to print * * * * * *******
What are the data types present in c?
What is a struct c#?
why we shiuld use main keyword in C
What is a floating point in c?
What is the difference between fread and fwrite function?
write a program of bubble sort using pointer?