0

Help me out in c language last program i have got the answer of 2 but not the 1 one.

Conditional Compilation Directives: Fill in the blanks to include the printf statement if LEVEL macro is not defined. #if [??????????] (LEVEL) printf("hello"); # endif

5th Mar 2021, 7:09 AM
YASH MISTRY
YASH MISTRY - avatar
4 odpowiedzi
0
i'm stuck on this one too. isn't it #ifndef (if n defined) { // do something } keeps marking it as wrong..
13th Jun 2021, 3:08 AM
Lawrence Nieto
Lawrence Nieto - avatar
0
the answer is !defined As we have to check whether it is defined or not
17th Aug 2021, 6:57 AM
Sanduni Ayesha
Sanduni Ayesha - avatar
0
!defined
2nd Feb 2022, 4:18 AM
Aman Sharma
5th Mar 2021, 8:57 AM
Ipang