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

what is diff b/w huge & far & near pointer??

1 Answers   HCL,


How to swap two values using a single variable ? condition: Not to use Array and Pointer ?

6 Answers  


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?

7 Answers  


Write a program in c to print * * * * * *******

1 Answers  


What are the data types present in c?

0 Answers  


What is a struct c#?

0 Answers  


why we shiuld use main keyword in C

5 Answers  


What is a floating point in c?

0 Answers  


What is the difference between fread and fwrite function?

0 Answers  


write a program of bubble sort using pointer?

3 Answers   TCS,


Categories