- 5
Fill in the blanks to define the macro SQR if the TRIPLE macro is defined, otherwise define TRIPLE.
# ifdef TRIPLE #define SQR(x) (x) * (x) # else #define TRIPLE(x) (x) * 3 # endif
3 Réponses
+ 8
Jason Chew , What is the purpose of your post? You have done around 10 posts like this.
You have done and finished most of the programming tutorials, so it's not clear what you want to achieve. It would be great if you could give us a short feedback. Thanks!
+ 4
Hi Lothar, thank you for your comment. I am trying to learn as much as possible as I felt I am lacking a lot of vital skills for a living. Thanks for your understanding.
+ 1
ifdef
else
endif