• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 13

Is it possible to define same macro more than once?

c
31st Jul 2019, 4:31 PM
A J I L
A J I L - avatar
3 Answers
+ 3
Yes https://www.programiz.com/c-programming/c-preprocessor-macros
31st Jul 2019, 9:46 PM
Paolo De Nictolis
Paolo De Nictolis - avatar
+ 4
You can also use #ifdef to check if a macro is already defined.
1st Aug 2019, 3:38 AM
Sonic
Sonic - avatar
+ 2
Yes
31st Jul 2019, 5:15 PM
Loeschzwerg

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Fix Rivers in 2D Terrain Map Generator
5 Votes
What Is the most complicated thing you can do
1 Votes
Hello everyone, I want to learn programming, I don't know where to start.
1 Votes
How the operators and commands in this code are executed?
1 Votes
Whyy.
0 Votes
Combination
0 Votes
Will I get the certificate for free if I completed the free course of web development (I am not on pro subscription)
0 Votes
Somebody knows how to solve the problem finance app. Even my result is like it must be, but still I can't pass it
0 Votes
I finished introduction to python
0 Votes
i am begineer
0 Votes