How does ## preprocessor directive work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

How does ## preprocessor directive work?

In which situation this is required

3rd Jul 2019, 1:50 AM
Shubhangi Shreya
3 Answers
+ 7
## is the same as #. ## can also be used as preprocessor directive. I've encountered this in c challenges.
3rd Jul 2019, 11:25 AM
Manoj
Manoj - avatar
+ 7
The # and ## are operator use with #define macro. Usins ## concatenate what's before ## and what after it
4th Jul 2019, 7:57 AM
Shubhangi Shreya
- 7
hi
3rd Jul 2019, 9:23 PM
Kelvin Barros