Is 'if' statement not a pre-processor type? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is 'if' statement not a pre-processor type?

Is if statement no using pre-processor? Because, if statement is included in pre-processor type.

1st Apr 2017, 2:12 PM
Kanishka Williamson
Kanishka Williamson - avatar
1 Answer
+ 2
if is not a pre-processor statement, but #if is. example #if defined(CR) creditacc(); #elif defined(DR) debitacc(); #else error(); #endif
1st Apr 2017, 2:17 PM
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender)
เคฆเฅ‡เคตเฅ‡เค‚เคฆเฅเคฐ เคฎเคนเคพเคœเคจ (Devender) - avatar