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

Is it possible to have a function as a parameter in another function?

1081


Tell me what are bitwise shift operators?

1133


How many parameters should a function have?

1198


Differentiate between declaring a variable and defining a variable?

1049


Is c compiled or interpreted?

1195


Why does not c have an exponentiation operator?

1054


Write a program on swapping (100, 50)

1131


Write a program to find factorial of a number using recursive function.

1125


What is unsigned int in c?

1007


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2185


How do I copy files?

1062


Who developed c language?

1100


What are the advantages of c preprocessor?

1268


Why c language?

1080


What is #line used for?

1029