Minggu, 18 Desember 2016

What are the Preprocessor Directives in C programming

The ANSI committee has added some more preprocessor directives to the existing list. They are: #elif   Directive The #elif directive enables us to establish an “if…else…if” sequence for testing multiple conditions. The syntax is as shown below: 1 2 3 4 5 6 7 #if expr1 Stmts; #elif  expr2 Stmts; #elif  expr3 Stmts; #endif #pragma  Directive The #pragma directive is an implementation oriented directive that allows the user to specify various instructions to be given to the compiler. Syntax is as follows: 1 #pragma name Where name is the name of the pragma we want. For example, under Microsoft C, #pragma loop_opt(on)

The post What are the Preprocessor Directives in C programming appeared first on Coding Security.


What are the Preprocessor Directives in C programming
read more

Tidak ada komentar:

Posting Komentar