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

Is fortran still used in 2018?

1043


What is the difference between variable declaration and variable definition in c?

1060


Why is c so popular?

1165


Why do we use static in c?

1137


a character or group of characters that defines a register,or a part of storage a) memory b) byte c) address d) linear list

1005


What is the difference between new and malloc functions?

1132


How can variables be characterized?

2193


Which is better between malloc and calloc?

1204


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1158


Can you write the algorithm for Queue?

2125


Can math operations be performed on a void pointer?

1055


Write a program to print fibonacci series without using recursion?

1144


How arrays can be passed to a user defined function

1025


What are the advantages and disadvantages of a heap?

1216


What is a global variable in c?

1014