Best Answer

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 (#).

User Avatar

Wiki User

โˆ™ 2007-01-04 23:52:11
This answer is:
User Avatar
More answers
User Avatar

Wiki User

โˆ™ 2014-12-21 09:20:03

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.

User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of 'pragma' in C language?
Write your answer...
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 does the pragma directive do in visual C plus plus?

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.

Why you are use to c language?

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

What is the population of Pragma Group?

The population of Pragma Group is 400.

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.

What is the use of loader in c language?

There is no part called 'loader' in 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 c-language?

Programming, mainly.

How you can use array 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 is limitation of c language?

C Language is Case senstive, We never use the reserve words as Variables names C Language is Case senstive, We never use the reserve words as Variables names

Which compiler you must use to run C language?

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

Why don't use objects in c?

You don't use objects in C because C is not an object oriented language like C++.

Explain use of graphics in C language?

C has nothing to do with graphics.

Why you learn java language?

java language moreover solve the problems witch is encounter in c and c++ that s why we use the java language...

Where we use the c language?

In computer-programming.

What programming language does the PSP use?


What language does Linux terminal use?


Can you use C as OOPS?

No, it is a programming language.

Why are use c language?

For is it programming used.

What is use of l in c language?

Bitwise OR.

What is the use for c language?

Programming, mainly.

What is statement use in c language?


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);

Why do we use C language?

We use C when we want to write low-level code with a higher level of abstraction than that provided by assembly language.