C Programming
Example Sentences
The Difference Between

What is the difference between define and undefine?

626364

Top Answer
User Avatar
Wiki User
Answered
2009-12-17 22:42:07
2009-12-17 22:42:07

# 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.

001
๐Ÿ™
0
๐Ÿคจ
0
๐Ÿ˜ฎ
0
๐Ÿ˜‚
0

Related Questions


Undefine and redefine

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

how to identify difference between A 105 and IS 2062

Undefined is defined. Define means to set the limits, explain. So, undefine means not to set limits or not to explain.

What is reactor define it briefly

The potential difference between the ends of a conductor is called voltage.

the diffrince is that they are both the same.

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

whats the difference between data and information

Define the difference between land and earth, which part of the layers of earth, you define as land and earth, such as the actual magma, or the upper crust?

#define is a preprocessor directive used to declare macros. typedef is a C++ keyword to define a data type.

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.

There is no difference; to define an object in C++ you use the 'class' definition

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

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

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

actually dfd is used to define how data flow from one process to another process where as er diagram is used to define relation between different entities.

Range, in mathematics, is the difference between the largest and smallest numbers in a given set.

They are both adjectives and have same meaning and application to define middle ages.

.com it can define the difference between the transformation and the transmotion


Copyright ยฉ 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.