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

Explain the array representation of a binary tree in C.

1211


Define macros.

1253


What is c token?

1051


int far *near * p; means

3539


write a progrmm in c language take user interface generate table using for loop?

2040


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

1152


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

992


What are control structures? What are the different types?

1076


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2100


Write a program to check prime number in c programming?

1077


Do you know pointer in c?

1030


What is equivalent to ++i+++j?

1077


What is difference between structure and union in c programming?

1080


How can you increase the size of a dynamically allocated array?

1170


What is header file definition?

1071