C Preprocessor - Point Out Correct Statements Multiple Questions and Answers.




1.Which of the following are correct preprocessor directives in C?
A. 1, 2
B. 4
C. 1, 2, 4
D. 1, 2, 3, 4

2.Which of the following are correctly formed #define statements in C?
A. #define CUBE (X) (X*X*X);
B. #define CUBE(x) (X*X*X)
C. #define CUBE(X)(X*X*X)
D. #define CUBE(X) {X*X*X}




Date to Date Current Affairs 2022

PakMCQs.net

Quick Links

GAT Subject



   Computer Science    English Mcqs    Agriculture    

Engineering



   Computer Science    Civil Engineering    

Technical



   Networking    Electronics    Database    

Past Papers



   Model Papers    FPSC Papers