-
-
-
-
Difference b/w a[i] and i[a]
Is there any relation between a[i] and i[a] while using arrays..can anyone help me with this....
-
C if condition Puzzle
What's the "condition" so that the following codesnippet prints both HelloWorld !if "condition"printf ("Hello");elseprintf("World");
-
Accenture C Questions
1)Write a C program to find a peculiar two digit number which is three times the sum of its digits.2) Bacteria are known to multiply very rapidly. If a certain container contains just one bacterium on the first day and there are twice as many on the next day. In this manner the number of bacteria in the container doubles itself everyday. Assuming that the container would be full on the 10th day with...
-
Memory Stack or Heap
Which type of memory(stack or heap)is used by static and external variables?
-
-
-
-
Accenture C Interview Questions
Study the Following Points:a.One Cannot Take the address of a Bit Fieldb.bit fields cannot be arrayedc.Bit-Fields are machine Dependantd.Bit-fields cannot be declared as staticWhich of the Following Statements are true w.r.t Bit-FieldsA)a,b&c B)Only a & b C)Only c D)All2.What is the function of ceil(X) defined in math.h do?A)It returns the value rounded down to the next lower...
-
-
What would be the output of the following program? main() { const int x=5; int *ptrx; ptrx=&x; *ptrx=10; printf("%d",x); }
A) 5B) 10C) ErrorD) Garbage Value
-
-
-
-
-
C Program for pyramid
What will be the code in c to get the following output?A B C D E F G F E D C B AA B C D E F F E D C B AA B C D E E D C B AA B C D D C B AA B C C B AA B B AA A
What is page thrashing?
Some operating systems (such as UNIX or Windows in enhanced mode) use virtual memory. Virtual memory is a technique for making a machine behave as if it had more memory than it really has, by using disk space to simulate RAM (random-access memory). In the 80386 and higher Intel CPU chips, and in most other modern microprocessors (such as the Motorola 68030, Sparc, and Power PC), exists a piece of...
Ans