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 #progma and where it is used?

Answers were Sorted based on User's Feedback



What is #progma and where it is used?..

Answer / vijay visana

The #pragma directives offer a way for each compiler to
offer machine- and operating-system-specific features while
retaining overall compatibility with the C and C++
languages. Pragmas are machine- or operating-system-
specific by definition, and are usually different for every
compiler.

Is This Answer Correct ?    4 Yes 0 No

What is #progma and where it is used?..

Answer / wizards

Some operating systems and compilers offers some different
features say align of data etc, and will not work on others.
To work these special features on specific OS/compilres and
should get the functionality of program on others we will
use #pragma directive

Is This Answer Correct ?    2 Yes 0 No

What is #progma and where it is used?..

Answer / saurabh srivastava

pragma is a pre processor directive thaat helps to perform
some compiler specific task, like turbo c allows to write
assembly language in c compiler,
pragma differs, system to system.

Is This Answer Correct ?    2 Yes 1 No

What is #progma and where it is used?..

Answer / vishal kumar jaiswal

it is compiler dependent preprocessor i.e all the compiler are does not support this preprocessor.
some #pragma are used here this purpose
#pragma warn -rvl // retruns value warning
#pragma warn -par // parameter not used warning
#pragma warn -rch //unreachable code warning

Is This Answer Correct ?    0 Yes 0 No

What is #progma and where it is used?..

Answer / sahadev tarei

for bit pading it is used.after compilation the compiler
takes some extra bits.for elimeting that bit we required #progma

Is This Answer Correct ?    3 Yes 9 No

Post New Answer

More MFC Interview Questions

What is the base class for MFC

3 Answers   HCL,


How to find the mouse entering an image?..while entering need to display next image...

4 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


how to repaint when working with horizontal scroll bar

0 Answers  


what is the use of Mutex and critical section

2 Answers  


How you create a button dynamically?

2 Answers  


Explain the flow of SDI application?

8 Answers   Mphasis,


What is document-view architecture ? Give me one real time example for SDI ?

2 Answers  


1)how to Display the File Dialog Box, in MFC ?

1 Answers  


What is the command routing in MFC framework?

3 Answers  


what is message Testing ?

1 Answers   L&T,


I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?

1 Answers  


Categories