Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the purpose of #pragma directives in C?

Answers were Sorted based on User's Feedback



What is the purpose of #pragma directives in C?..

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

What is the purpose of #pragma directives in C?..

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

Post New Answer

More C Interview Questions

c programming of binary addition of two binary numbers

4 Answers  


How can you draw circles in C?

0 Answers   Accenture,


What are actual arguments?

0 Answers  


what is the differance between pass by reference and pass by value.

7 Answers   Infosys,


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

0 Answers  


hi , please send me NIC written test papers to sbabavalli@gmail.com

0 Answers   NIC,


How can we allocate array or structure bigger than 64kb?

2 Answers   CSC,


Difference between exit() and _exit() function?

0 Answers  


What does the && operator do in a program code?

0 Answers  


Program to write some contents into a file using file operations with proper error messages.

2 Answers  


Write a C Program That Will Count The Number Of Even And Odd Integers In A Set using while loop

0 Answers   HP,


void main() { int a=1; while(a++<=1) while(a++<=2); }

4 Answers   HCL,


Categories