Advanced c programming chapter 1 questions and answers
Advanced c programming chapter 1 questions and answers QA Review Questions 1.write a short note on c preprocessor. =>A preprocessor is a program that process or analyse the source code file before it is given to the compiler . it perform sum action according to special instruction called preprocessor directives(which begin with #) in the source code. A preprocessor or directive begin with hash and does not end with semicon. 2. Explain macro substitution in brief with example. => The macro substitution directive is #define. it defines the symbol which represent a value . Whenever the macro name occurs in a program the preprocessor substitutes the code of the macro at that position. it defines symbolic constants with occur frequently in a program. Syntax #define macro _name value Examples 1 #define PI 3.142 2#define TRUE 1 3 #define AND && 4 # define LESSTHAN < 5 #define GREET prints ("Hello"); 6#define MESSAGE "welcom...