CodesJava

Easy learning with example program codes

C Command Line Arguments

Command line arguments are passed inside the main function of a C program also called as command line of the C program, hence the name, command line … Read More

Posted in C   

c preprocessor pragma

C #pragma:

The #pragma is a preprocessor directive which is used to get additional information related to machine or operating-system features by the compiler.

Some of the … Read More

Posted in C   

c preprocessor error

C #error:

The #error is a preprocessor directive in C which is used to display an error if #error directive is found during the code execution and … Read More

Posted in C   

c preprocessor else

C #else:

The #else is a preprocessor directive in C which is used with,

  • #if to execute a piece of code, only if the specified condition is
Read More
Posted in C   

c preprocessor if

C #if:

The #if is a preprocessor directive in C which is used to execute a piece of code, only if the specified condition is TRUE.

Syntax:Read More

Posted in C   

c preprocessor ifndef

C #ifndef:

The #ifndef is a preprocessor directive in C which is used to execute a piece of code, only if the specified macro is not defined … Read More

Posted in C   

c preprocessor ifdef

The #ifdef is a preprocessor directive in C which is used to execute a piece of code, only if the specified macro is already defined by #define.… Read More

Posted in C   

c preprocessor undefine

C #undef:

A macro value in C replaces a part of a program with a value already defined by #define directive. The #undef is a preprocessor directive … Read More

Posted in C   

c preprocessor define

C #define:

A macro value in C replaces a part of a program with a value already defined by #define directive.

Syntax:

#define macro_Name macro_Value

Example:

#include
Read More
Posted in C   

c preprocessor include

C# include:

C #include is a preprocessor directive which is used in a C program to include the codes of a file into the current program file. … Read More

Posted in C   
Sign Up/ Sign In
Ask a Question


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki