| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| WHAT IS MAXIMUM SIZE OF AN ARRAY IN C LANGUAGE? | IBM | 5 |
| what is the difference b/w compiler and debugger? | Assurgent | 1 |
| An interactive c program to read basic salary of 15
persons. each person gets 25% of basic as HRA, 15%of basic
as conveyance allowances, 10%of basic as entertainment
allowances.The total salary is calculated by adding
basic+HRA+CA+EA.Calculate how many out of 15 get salary
above 10,000.Rs also print the salary of each employee | | 2 |
| how can i get this by using for loop?
*
**
*
****
*
****** | Excel | 3 |
| differentiate between
const char *a;
char *const a; and
char const *a;
| HCL | 1 |
| sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2;
Find the value of x? | Subex | 2 |
| There is a 100-story building and you are given two eggs.
The eggs (and the building) have an interesting property
that if you throw the egg from a floor number less than X,
it will not break. And it will always brake if the floor
number is equal or greater than X. Assuming that you can
reuse the eggs which didn't broke; you got to find X in a
minimal number of throws. Give an algorithm to find X in
minimal number of throws. | | 2 |
| write a program to sort the elements in a given array in c
language | | 2 |
| What is the meaning When we write "#include" what is # and
what does include does there??? | HCL | 11 |
| tell me the full form of c? | | 2 |
| wap in c to accept a number display the total count of digit | | 4 |
| Which of the following is not a valid declaration for main
()?
1) int main()
2) int main(int argc, char *argv[])
3) They both work
| | 2 |
| how to find out the biggest element (or any other
operation) in an array which is dynamic. User need not to
mention the array size while executing. | | 2 |
| print the following using nested for loop.
5 4 3 2 1
1 2 3 4
3 2 1
1 2
1
2 1
1 2 3
4 3 2 1
1 2 3 4 5 | | 5 |
| what is const volatile? | | 1 |
| Find Error if any in below code, Justify ur answer:
struct xx
{
int a;
struct yy
{
char c;
struct xx* p;
}
struct yy* q;
} | NDS | 3 |
| what are the compilation steps?
( i want inside the compiler ) | | 1 |
| Can we write a program without main() function? | | 9 |
| a.One Cannot Take the address of a Bit Field
b.bit fields cannot be arrayed
c.Bit-Fields are machine Dependant
d.Bit-fields cannot be declared as static
Which of the Following Statements are true w.r.t Bit-Fields
A)a,b&c B)Only a & b C)Only c D)All
| Accenture | 2 |
| related to rdbms query . | | 1 |
| |
| For more C Interview Questions Click Here |