C Interview Questions
Questions Answers Views Company eMail

Write a program that can show the multiplication table.

Student,

1394

Write a program that will read the input of any number of digits n in a row of shafh showing the breakdown of the printing and printing figures by the recursive function.

1567

Write a program that an operator and two operands read from input operand operator on the implementation and results display.

1366

A program to allow an input operand and operator from the operator and read on the display and output operand.

1417

int j =15,i; for (i=1; 1<5; ++i) {printf ("%d%d ",j,i); j = j-3; }

2 2523

Function shall sum members of given one-dimensional array. However, it should sum only members whose number of ones in the binary representation is higher than defined threshold (e.g. if the threshold is 4, number 255 will be counted and 15 will not) - The array length is arbitrary - output the results to the stdout

XYZ,

1537

int i=~0; uint j=(uint)i; j++; printf(“%d”,j);

1 3479

what is output? main() { #define SQR(x) x++ * ++x int i = 3; printf(" %d %d ",SQR(i),i * SQR(i)); } a)9 27 b)35 60 c)20 60 d)15 175

Wipro,

5 5166

print the table 5 in loops

3 3043

how to print 212 as Twohundreds twelve plz provide me ans soon

1 3942

int i=0,j; j=++i + ++i ++i; printf(" %d",j);

ME,

2 3159

#include #include void main() { clrscr(); int a=0,b=0,c=0; printf("enter value of a,b"); scanf(" %d %d",a,b); c=a+b; printf("sum is %d",c); getch(); }

2 3198

#include int main() { if ("X" <"x") printf("X smaller than x "); } my question is whats the mistake in this program? find it and please tell me..

3 3721

int main() { int days; printf("enter days you are late"); scanf("%d",days); if (days<=5) printf("5o paisa fine"); if (days<=10&&days>=6) printf("1rs fine"); if(days>10) printf("10 rs fine"); if(days=30) printf("membership cancelled"); return 0; } tell me whats wrong in this program? is it right?

2 2190

#include void main() { int i=-1,j=1,k,l; k=!i&&j; l=!i||j; printf ("%d%d",k,l) ; }

SRG,

3 3840


Post New C Questions

Un-Answered Questions { C }

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.

2134


4. main() { int c=- -2; printf("c=%d",c); }

1343


Which header file is essential for using strcmp function?

908


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

633


Explain what are preprocessor directives?

597






How can you check to see whether a symbol is defined?

568


Why we not create function inside function.

1720


What kind of structure is a house?

531


write a program for the normal snake games find in most of the mobiles.

1763


Combinations of fibanocci prime series

1081


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5439


What is the meaning of 2d in c?

583


what is bit rate & baud rate? plz give wave forms

1491


What language is windows 1.0 written?

545


how to construct a simulator keeping the logical boolean gates in c

1696