Explain the #undef directive, C/C++ Programming

Assignment Help:

The #undef Directive

This directive undefines a previously explained macro. For, example the following will give an error since PI is undefined.

                #define PI 3.14285

                void main()

                 {

                                cout<< PI;                                           // no error here

                  # undef PI;

 

cout << PI;                          // error after undef.

                 }

 


Related Discussions:- Explain the #undef directive

Compiler design, Compiler Design - Limit In The Method Instructions

Compiler Design - Limit In The Method Instructions

Console atm machine coding, construct a console programme for a bank ATM m...

construct a console programme for a bank ATM machine.

Find area, #question.to determine the area of a triangle,rectangle and tra...

#question.to determine the area of a triangle,rectangle and trapezium

I need voting bot, Project Description: Seeking a Voting Bot Script / Pr...

Project Description: Seeking a Voting Bot Script / Program Skills required are ASP, Javascript, C Programming, PHP, Software Architecture

Described assignment operator?, Default assignment operator mange assigning...

Default assignment operator mange assigning one object to another object of the same class. It is member to member copy as shallow copy.

Destruction of local object, Need assignment help What's the order that ...

Need assignment help What's the order that local objects are destructed?

Padovan sequence, write a program to generate padovan sequence in c++

write a program to generate padovan sequence in c++

Illustration of grid function, Illustration of Grid function: For illu...

Illustration of Grid function: For illustration, the script below creates two individual figure windows. At First, it clears the figure window. Then, it generates an x vector

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd