#define pre-processor directive




This video tutorial explains the #define pre-processor directive in c++.
You are gonna learn how to define macros or identifiers using the #define pre-processor directives, how to use the defined macros in your program in detail with examples.

source code for this tutorial

#include <iostream>
#define WELCOME "hello everyone welcome to 
the learning lad video 
tutorials"
using namespace std;

int main()
{
    cout << WELCOME<<endl;
    return 0;
}

 
Back To Top