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 use of #pragma pack, wer it is used?

Answer Posted / sarabjit kaur

#pragma is a miscelleneous directive which is used to turn
on or off certain features.
It varies frm compiler to compiler
a. #pragma startup and #pragma exit
used to specify which function should b called upon startup
(before main()) or program exit(just before program
terminates)
such funtions should nt receive or return any valur

b. #pragma -warn used to surpress specific warning
#pragma warn -rvl return value warnings surpressed
#pragma warn -par parameter not used warnings surpressed
#pragma warn -rch unreachable code warnings surpressed

Is This Answer Correct ?    2 Yes 3 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.

1284


Tell me about low level programming languages.

1190


What is scope rule of function in c?

1149


How can I call a function with an argument list built up at run time?

1287


What are 3 types of structures?

1106


Can the curly brackets { } be used to enclose a single line of code?

1217


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

5266


Can a variable be both constant and volatile?

1183


Explain what’s a signal? Explain what do I use signals for?

1252


How can I direct output to the printer?

1373


How will you find a duplicate number in a array without negating the nos ?

2185


Why #include is used in c language?

1103


the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters

2348


Why malloc is faster than calloc?

1121


What are qualifiers in c?

1089