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
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Explain what standard functions are available to manipulate strings?
What is data structure in c language?
How do you list a file’s date and time?
What is typedef struct in c?
What is modifier & how many types of modifiers available in c?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What are the applications of c language?
There seem to be a few missing operators ..
What is the basic structure of c?
Is it possible to execute code even after the program exits the main() function?
If you know then define #pragma?
What are derived data types in c?
What is main () in c?
i have to apply for rbi before that i need to know the the syllabus for the entrance questions. whethet it may be aps or techinical