| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what is the associativity of bitwise OR operator? | | 1 |
| Why the use of alloca() is discouraged?
| Oracle | 2 |
| Write the program for displaying the ten most frequent words
in a file such that your program should be efficient in all
complexity measures. | Google | 3 |
| program to find the ASCII value of a number | | 5 |
| what is the difference between
const char *p, char const *p, const char* const p
| Accenture | 4 |
| 1,1,5,17,61,217,?,?. | | 3 |
| what are the various memory handling mechanisms in C ? | HP | 3 |
| what is meant by c | | 4 |
| 15.what is the disadvantage of using macros?
16.what is the self-referential structure?
17.can a union be self-referenced?
18.What is a pointer?
19.What is the Lvalue and Rvalue?
20.what is the difference between these initializations?
21.Char a[]=”string”;
22.Char *p=”literal”;
23.Does *p++ increment p, or what it points to? | CTS | 2 |
| how many header file is in C language ? | | 14 |
| how to do in place reversal of a linked list(singly or
doubly)? | | 2 |
| we all know about the function overloading concept used in
C++ and we all learnt abt that.... but that concept is
already came in C in a very smaller propotion ... my
question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION
OVERLOADING IS USED in C language????????????? | Google | 2 |
| How to add two numbers without using arithmetic operators? | Sapient | 11 |
| HOW TO HANDLE EXCEPTIONS IN C | | 5 |
| dynamically allocate memory for linear array of n
integers,store some elements in it and find some of them | | 1 |
| write a recursive program in'c'to find whether a given five
digit number is a palindrome or not | | 1 |
| what is the defrenece between structure and union | | 5 |
| what does " calloc" do? | Cadence | 6 |
| write a addition of two no. program with out using
printf,scanf,puts . | | 3 |
| What is the Difference between Class and Struct? | Motorola | 9 |
| |
| For more C Interview Questions Click Here |