-3

What is the use of

          #pragma section

directive in C language ?

Fagun
  • 35
  • 8

2 Answers2

1

This #pragma directive allows a directive to be defined. Its effects are implementation-defined. If the pragma is not supported, then it is ignored.

Syntax:

#pragma directive

#elif directive creates conditional compiling parameters that control the compiling of the source code. Syntax:

#if constant_expression
#elif constant_expression
#endif
Raging Bull
  • 18,593
  • 13
  • 50
  • 55
0

#pragma C standard for providing additional information to the compiler #elif is else if precompiler directive such as

 #if X == 1
     ...
 #elif X == 2
     ...
 #else 
    ....
 #endif 
Saddam Abu Ghaida
  • 6,381
  • 2
  • 22
  • 29