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

Answers were Sorted based on User's Feedback



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

Answer / hyderabadi

All are Preprocessor directives
below are some more preprocessors for your reference:

#define
#error
#import
#undef
#elif
#if
#include
#using
#else
#ifdef
#line
#endif
#ifndef
#pragma

Is This Answer Correct ?    19 Yes 0 No

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

Answer / prem

All are preprocessor Directives..
Refer http://msdn2.microsoft.com/en-us/library/79yewefw
(VS.71).aspx

for details

Is This Answer Correct ?    10 Yes 1 No

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

Answer / wizard

Ans is #if, no preprocessor directive with #if. it is #ifdef
or #ifndef

Is This Answer Correct ?    12 Yes 5 No

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

Answer / soumya

all are preprocessor

Is This Answer Correct ?    4 Yes 0 No

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

Answer / magesh

All are preprocessor directive

Is This Answer Correct ?    3 Yes 0 No

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

Answer / shiva

All are preprocessor directives

Is This Answer Correct ?    4 Yes 2 No

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

Answer / neeraj kandwal

all r preprocessor directive

Is This Answer Correct ?    2 Yes 0 No

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

Answer / yashwanth

#pragma is not a preprosessor directive, because pragma is
use to suppress errors,, but errors are exposed only after
compilation,, which is defenitly after preprosessing,, so
pragma is not a preprosessor diretive

Is This Answer Correct ?    2 Yes 0 No

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

Answer / yashwanth

all are preprocessor directives

Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

More C Interview Questions

A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?

0 Answers  


The rich analysts of Fernand Braudel arid his fellow Annales historians have made significant contributions to historical theory and research. In a departure from traditional historical approaches, the Annales historians assume (as do Marxists) that history cannot be limited to a simple recounting of conscious human actions, but must be understood in the context of forces and material conditions that underlie human behavior. Braudel was the first Annales historian to gain widespread support for the idea that history should synthesize data from various social sciences, especially economics, in order to provide a broader view of human societies over time (although Febvre and Bloch, founders of the Annales school, had originated this approach). Braudel conceived of history as the dynamic interaction of three temporalities. The first of these, the evenmentielle, involved short-lived dramatic events such as battles, revolutions, and the actions of great men, which had preoccupied traditional historians like Carlyle. Conjonctures was Braudel’s term for larger cyclical processes that might last up to half a century. The longue duree, a historical wave of great length, was for Braudel the most fascinating of the three temporalities. Here he focused on those aspects of everyday life that might remain relatively unchanged for centuries. What people ate, what they wore, their means and routes of travel—for Braudel these things create “structures’ that define the limits of potential social change for hundreds of years at a time. Braudel’s concept of the longue duree extended the perspective of historical space as well as time. Until the Annales school, historians had taken the juridical political unit—the nation-state, duchy, or whatever—as their starting point. Yet, when such enormous timespans are considered, geographical features may well have more significance for human populations than national borders, In his doctoral thesis, a seminal work on the Mediterranean during the reign of Philip II, Braudel treated the geohistory of the entire region as a “structure” that had exerted myriad influences on human lifeways since the first settlements on the shores of the Mediterranean Sea. And so the reader is given such arcane information as the list of products that came to Spanish shores from North Africa, the seasonal routes followed by Mediterranean sheep and their shepherds, and the cities where the best ship timber could be bought. Braudel has been faulted for the imprecision of his approach. With his Rabelaisian delight in concrete detail, Braudel vastly extended the realm of relevant phenomena but this very achievement made it difficult to delimit the boundaries of observation, a task necessary to beginning any social investigation. Further, Braudel and other Annales historians minimize the differences among the social sciences. Nevertheless, the many similarly designed studies aimed at both professional and popular audiences indicate that Braudel asked significant questions that traditional historians had overlooked. 14) The primary purpose of the passage is to: a) show how Braudel’s work changed the conception of Mediterranean life held by previous historians. b) evaluate Braudel’s criticisms of traditional and Marxist historiography. c) contrast the perspective of the longue duree with the actions of major historical figures d) outline some of Braudel’s influential conceptions and distinguish them from conventional approaches. 15) The author refers to the work of Febvre and Bloch in order to: a) illustrate the limitations of the Annale tradition of historical interpretation. b) suggest the relevance of economics to historical investigation. c) debate the need for combining various sociological approaches. d) show that previous Annales historians anticipated Braudel’s focus on economics. 16) According to the passage, all of the following are aspects of Braudel’s approach to history EXCEPT that he: a) attempted to draw on various social sciences. b) studied social and economic activities that occurred across national boundaries. c) pointed out the link between increased economic activity and the rise of nationalism. d) examined seemingly unexciting aspects of everyday life. 17) In the third paragraph, the author is primarily concerned with discussing: a) Braudel’s fascination with obscure facts. b) Braudel’s depiction of the role of geography in human history. c) the geography of the Mediterranean region. d) the irrelevance of national borders. 18) The passage suggests that, compared with traditional historians, Annales/i> historians are: a) more interested in other social sciences than in history. b) critical of the achievements of famous historical figures. c) skeptical of the validity of most economic research. d) more interested in the underlying context of human behavior. 19) Which of the Following statements would be most likely to follow the last sentence of the passage? a) Few such studies however, have been written by trained economists. b) It is time, perhaps, for a revival of the Carlylean emphasis on personalities. c) Many historians believe that Braudel’s conception of three distinct “temporalities” is an oversimplification. d) Such diverse works as Gascon’s study of Lyon and Barbara Tuchman’s A Distant Mirror testify to his relevance. 20) The author is critical of Braudel’s perspective for which of the Following reasons a) It seeks structures that underlie all forms of social activity. b) It assumes a greater similarity among the social sciences than actually exists. c) It fails to consider the relationship between short-term events and long-term social activity. d) It rigidly defines boundaries for social analysis.

0 Answers   Accenture,


A woman had somany gloves and hats 22 red,34 blue, 45 white...there was power cut and she took a glove and how many gloves shud she take so that she gets a pair of glove fr each color??

3 Answers   TCS,


Explain built-in function?

0 Answers  


Explain the difference between #include "..." And #include <...> In c?

0 Answers  






if p is a string contained in a string?

0 Answers  


Do you know what are bitwise shift operators in c programming?

0 Answers  


What are enumerated types?

0 Answers  


Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage

7 Answers   Accenture,


Why do we use int main?

0 Answers  


how to find the kth smallest element in the given list of array elemnts.

8 Answers   Silicon,


What is the scope of static variables?

1 Answers  


Categories