Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

which one is not preprocessor directive
a)#if b)#elif c)#undef d)#pragma

Answer Posted / lnk

before asnwering please do understand what are
preprocessive directive ....

A preprocessive derectives are used because it would be
easy to change and easy to compile in different execution
environments. Directives in the source file tell the
preprocessor to perform specific actions



# if is #if: This directive executes its associated block
of code if and only if the condition specified along with
this directive is evaluated to true.

#elif: Else-if conditions can be specified using #elif
directive. Block of code associated with #elif directive
will be triggered if the condition specified in this
directive is evaluated to true and the condition specified
by its related if statement is evaluated to false. #elif
block is optional.

#undef: This directive does the reverse process of #define
directive. #undef will reset its associated identifier to
Boolean value “false”.

#pragma: This directive controls the display of warning
message specified using #warning directive. I


so all of them are preprocessive directives ...

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2377


What does & mean in scanf?

1105


explain what are actual arguments?

1086


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1230


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2187


What is a protocol in c?

997


How can you pass an array to a function by value?

1117


Can you pass an entire structure to functions?

1117


What is a static variable in c?

1113


What is sorting in c plus plus?

975


What is the condition that is applied with ?: Operator?

1128


Can you please explain the difference between malloc() and calloc() function?

1120


Why is c so important?

1060


Explain how can I open a file so that other programs can update it at the same time?

1108


Differentiate call by value and call by reference?

960