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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are valid signatures for the Main function?

1167


Why array is used in c?

967


if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above

1107


Where are c variables stored in memory?

1021


Why cant I open a file by its explicit path?

987


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1664


What is getch?

1085


State two uses of pointers in C?

1006


What is a nested formula?

1050


Why isn't any of this standardized in c? Any real program has to do some of these things.

1144


Difference between pass by reference and pass by value?

1095


What is a protocol in c?

943


a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f

2076


can anyone please tell about the nested interrupts?

2063


how can f be used for both float and double arguments in printf? Are not they different types?

1013