#include using namespace std; //macro definition #define X 30 //global integer constant const int Y = 10; void funtion1() { cout << "Value of X1: "<< X1 << endl ; } int main() { //local integer constant #define X1 30 const int Z = 30 ; cout << "Value of X: "<< X << endl ; cout << "Value of X1: "<< X1 << endl ; cout << "Value of Y: "<< Y << endl ; cout << "Value of Z: " << Z << endl ; return 0; }