What are preprocessor directives? Why do we need them ? Explain various preprocessor directives?
Answers
Answer:
BRAINLIST PLEASE
Preprocessor directives are lines included in a program that begin with the character #, which make them different from a typical source code text. They are invoked by the compiler to process some programs before compilation. Preprocessor directives change the text of the source code and the result is a new source code without these directives.
Although preprocessing in C# is conceptually similar to that in C/C++, it is different in two aspects. First, preprocessing in C# does not involve a separate step for preprocessor execution before compilation. It is processed as a part of the lexical analysis phase. Second, it cannot be used to create macros. In addition, the new directives #region and #unregion have been added in C# along with the exclusion of some directives used earlier (#include is a notable directive whose use is replaced with "using" to include assemblies).
Java does not support preprocessor directives.
Explanation:
Answer:
reffer to the attachment ...
PLZZ MARK AS BRAINLIEST AND FOLLOW ME