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

write a program to print data of 5 five students with structures?

2037


Explain the use of #pragma exit?

1163


Difference between constant pointer and pointer to a constant.

1120


What is the difference between NULL and NUL?

1278


What is meant by operator precedence?

1127


What is the difference between #include

and #include “header file”?

1015


How can I find the modification date of a file?

1264


Explain heap and queue.

1064


What is cohesion and coupling in c?

1018


Which header file is essential for using strcmp function?

1460


What is a pointer value and address in c?

1108


What is console in c language?

1088


Why we use break in c?

989


Explain what is the difference between a free-standing and a hosted environment?

1172


What is the Purpose of 'extern' keyword in a function declaration?

1065