| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| what information does the header files contain? | BSNL | 5 |
| what's the return value of malloc() | | 8 |
| size maximum allocated by calloc() | DELL | 1 |
| whether itis a structured language? | Microsoft | 1 |
| how do u find out the number of 1's in the binary
representation of a decimal number without converting it
into binary(i mean without dividing by 2 and finding out
the remainder)? three lines of c code s there it
seems...can anyone help | | 2 |
| c program to add and delete an element from circular queue
using array | | 1 |
| Switch (i)
i=1;
case 1
i++;
case 2
++i;
break;
case 3
--i;
Output of i after executing the program
| Mascot | 4 |
| What is a far pointer?What is the utility? | | 2 |
| what is the hexidecimal number of 4100? | Google | 14 |
| what is the maximum no. of bytes calloc can allocate | Mphasis | 2 |
| what is the use of keyword volatile?? | LG-Soft | 4 |
| I have a function which accepts a pointer to an int. How
can I pass a constant like 5 to it? | | 3 |
| Write code for finding depth of tree | Adobe | 1 |
| what is difference between ++(*p) and (*p)++ | Accenture | 15 |
| write a programme that inputs a number by user and gives
its multiplication table. | | 2 |
| How would you sort a linked list? | | 1 |
| 7. Identify the correct argument for the function call
fflush() in ANSI C:
A)stdout
B)stdin
C)stderr
D)All the above
| Accenture | 8 |
| CAN WE DEFINE ANY FUNCTION WITHIN A FUNCTION. | | 6 |
| write a program to print sum of each row of a 2D array.
| | 2 |
| How would you print out the data in a binary tree, level by
level, starting at the top? | Microsoft | 4 |
| |
| For more C Interview Questions Click Here |