answersLogoWhite

0

# define and # undef are compiler directives in C and C++. The # define directive creates a definition for something that will be replaced multiple times in the code.

For example:

# define HELLO 5

Creates an association between HELLO and replaces it with 5 in the code (for the compiler only).

The # undef (undefine) counterpart removes the definition from what the compiler sees. It is usually specified when either the definition should no longer be used or when the definition needs to change.

What else can I help you with?

Related Questions

What is difference between define and cons Explain with suitable example?

Difference between define and cons is that, con is disadvantage, whereas define means to elaborate something fully.


How do you define difference between a 105 and is2062?

how to identify difference between A 105 and IS 2062


Define the difference between molecule and compounds?

the diffrince is that they are both the same.


Define the difference between modern spiritualism and ancient spiritualism?

None.


define the difference between common good and general welfare?

wat


What the difference between protocol stack and protocol suite?

- In your own words, define the term 'protocol' and what is the difference between protocol and protocol suite


What is the difference between Ursus and Ursidae?

The difference is that one is a family and one is a class. Other than that, there really is no difference, they both define bears.


Define the difference between remedial reading and developmental reading?

guess what? i don't know.


Explain difference between total and marginal utility. Define UTILITY. How do consumers maximize UTILITY?

explain the difference between total utility and marginal utility


What is difference between simple and long chain polymer?

simple polymer are define as themosofning plastic where as long chain polymer define as thermosetting plastic


What is the difference between the normal animal cell and the bone cell?

What you define as normal a normal animal cell? You have to define this first, before asking a question.


What is the difference between strategic control and financial control?

Define staregic control and financial control