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 |
How do you determine if a string is a palindrome?
What is the proper way of these job Tell me about there full work
Explain goto?
What do you mean by c what are the main characteristics of c language?
write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?
Explain how do you sort filenames in a directory?
Write a code to generate a series where the next element is the sum of last k terms.
What is mean by Data Driven framework in QTP? Can any one answer me in details on this regard.
write a program for 4 4 3 3 3 3 2 2 2 2 2 2 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 4 4
How many types of errors are there in c language? Explain
What is meant by realloc()?
how logic is used