Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

Thursday, March 12, 2015

What is #pragma directive ?

The #pragma directive is special purpose or implementation oriented directive which is used to allow a programmer to use many features in a program or not i.e. turn on or off features.

Syntax:
#pragma name
Ex:
void START( );
void END( );
#pragma startup START
#pragma exit END
void main( )
{
printf ("Main Body Of The Program \n" );
}
void START( )
{
printf ("Inside START FUNCTION \n" );
}
void END( )
{
printf ("\nInside END Function ");
}
Output:
Main Body Of The Program
Inside START FUNCTION

nInside END Function

No comments:

Post a Comment