answersLogoWhite

0


Best Answer

The #pragma directive is a compiler specific instruction. There are many things you can tell the compiler. For instance, the #pragma pack n directive tells the compiler to override the /Zpn command line argument and to use a new default structure packing value. To see all of the possible #pragma directives, go to online help, and index by #pragma directives, C/C++. You probably only need to type in #pra and then click on C/C++ to get this far.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

17y ago

A preprocessor directive that is not specified by the ISO standard. Pragmas often control actions of the compiler and linker. A pragma always begins with a number sign (#).

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

A pragma is a pre processor directive in C . A Pre processor begins with # and are pre loaded in the library. Pragma controls the action of the compiler.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of 'pragma' in C language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How you can use pragma in c language?

a preprocessor directive that is not an specified ISO standard that controls actions of complier and linker


What is the population of Pragma Group?

The population of Pragma Group is 400.


When was Pragma Group created?

Pragma Group was created in 2003.


When was Pragma Systems created?

Pragma Systems was created in 1990.


Significance of pragma directives in the program?

Pragma directive forces processor to use specific advantages for particular processors such as Hyper Threading, multi cores and so on.


Why you are use to c language?

I do use am a programmer, because C-language.


I need One program using pragma?

Lucky you, keep it up and you may just find out what pragma is/means and then you can write your own program that contains a pragma.


What is the use of loader in c language?

There is no part called 'loader' in C language.


How do you write a programme in c language using arrays to copy diagonal elements of a 2-d array into a 1-d array?

TO use a c language first step is to know about the c language and the steps to use the c progrmming language with the help of any elders or with the teachers. TO use the arrays you have to get th eknowledge of "c" language


What are the various preprocessor directives available in c?

Some of them are: #include #define #if, #else, endif, #elif, #ifdef, #ifndef #line #pragma


What term using c plus plus instead of fscanf in c?

There is no alternative to fscanf() in C++. The same function can be used in both C and C++. For C++, the function can be found in the <cstdio> standard library header. Note that Microsoft Visual Studio will claim that fscanf() is unsafe and recommends using the non-portable fscanf_s() instead. However, you can disable this warning by placing the following pragma on the line immediately before the call to fscanf(). #pragma warning(suppress:4996);


Which compiler you must use to run C language?

To run C language?! Your question makes no sense.