#pragma statements
Define #pragma statements. The #pragma Directives are used to turn ON or OFF certain features. They vary from compiler to compiler.
Examples of pragmas are:
#pragma startup // you can use this to execute a function at startup of a program #pragma exit // you can use this to execute a function at exiting of a program #pragma warn –rvl // used to suppress return value not used warning #pragma warn –par // used to suppress parameter not used warning #pragma warn –rch // used to suppress unreachable code warning
The @pragma is a ‘compiler specific directive’, which can be used by the vendors of that compiler. For example, #pragma is utilized for allowing specific error messages suppression and to manage head and stack debugging.
|
Advantages of using macroMacros substitute a function call by the definition of that function. This saves execution time to a great extent.....
Structures and unionC structures and union - A structure is a user defined data type, which groups a set of data types. It is a collection of variables of different type under single name......