Table of Contents
show
It is used to specify diverse options to the compiler. The options are specific for the compiler and the platform used
Syntax
#pragma token-sequence
Example
#include<stdio.h>
#pragma option -C
int main()
{
/* Comment
/* Inner Comment */
End of outer comment */
printf("Nested comments are not allowed \n");
printf("pragma option -c allow nested comments");
return 0;
}
Output
Nested comments are not allowed
pragma option -c allow nested comments
Views: 0