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 |
c programming of binary addition of two binary numbers
How can you draw circles in C?
What are actual arguments?
what is the differance between pass by reference and pass by value.
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
hi , please send me NIC written test papers to sbabavalli@gmail.com
How can we allocate array or structure bigger than 64kb?
Difference between exit() and _exit() function?
What does the && operator do in a program code?
Program to write some contents into a file using file operations with proper error messages.
Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop
void main() { int a=1; while(a++<=1) while(a++<=2); }