C Preprocessor - Point Out Correct Statements :: Discussion


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
Answer:  Option  D
Explanation:

The macros #ifdef #if #elif are called conditional macros.

The macro #undef undefine the previosly declared macro symbol.

Hence all the given statements are macro preprocessor directives.

Tutorial Link:
Published by:Michael Daani

Comments are not available

Post your comments here:

Optional

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