-
-
-
Pointers
Why do we need different types of pointers when it occupies the same memory space for any type of pointers?
-
C question
How can you change the value of a constant variable in C?
-
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...
-
Count Negative Elements
A list of number is given. Make a program which counts the no of negative elements using array inc.
-
Convert int to string
Convert int to string without using itoa in C language
-
-
-
-
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...
-
Pointer Variable
How to declare and initialize a pointer variable?
-
Pointer to an Array
What is pointer to an array? Explain with example.
-
Recursion
What is the basic principle behind recursion, other than function calling itself again & again and in which real time scenario we use it?
-
-
-
Pointer Use
Why do we use pointer instead of variable?
-
Big Endian Little Endian
How will you find if a machine is a big endian or little endian?
-
-
C Interview Questions
Ans