| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| What is function pointer and where we will use it | NetApp | 1 |
| How to implement call back functions ? | HP | 2 |
| Name the language in which the compiler of "c" in written? | Bajaj | 1 |
| Software Interview Questions | CAT | 1 |
| what is disadvantage of pointer in C | Tech-Mahindra | 5 |
| what is the size of an integer variable? | | 1 |
| #include <stdio.h>
int main ( int argc, char* argv [ ] )
{
int value1 = 10;
int value2 = 5;
printf ( "\n The sum is :%d", value1 | value2 );
}
This is the answer asked by some one to add two numbers
with out using arithmetic operator?Yes this answer is write
it given out put as 15.But how?????
what is need of following line?
int main ( int argc, char* argv [ ] )
how it work?what is the meaning for this line?
please explain me.Advance thanks | Excel | 4 |
| why i join syntel? | Syntel | 12 |
| wap in c to accept a number display the total count of digit | | 4 |
| what are the various memory handling mechanisms in C ? | HP | 3 |
| who will call your main function in c under linux? | | 2 |
| write a recursive program in'c'to find whether a given five
digit number is a palindrome or not | | 1 |
| write a program to find out number of on bits in a number?
| Huawei | 12 |
| do ne body have any idea about the salary for the we r going
to have interview.
yup .. u got it right ..i m talking abt NIC. | | 1 |
| dynamically allocate memory for linear array of n
integers,store some elements in it and find some of them | | 1 |
| print ur name without using any semicolon in c/c++.... | | 6 |
| If we have an array of Interger values, find out a sub array
which has a maximum value of the array and start and end
positions of the array..The sub array must be contiguious.
Take the start add to be 4000.
For Ex if we have an array arr[] =
{-1,-2,-5,9,4,3,-6,8,7,6,5,-3}
here the sub array of max would be
{8,7,6,5} coz the sum of max contiguous array is 8+7+6+5 =
26.The start and end position is 4014(8) and 4020(5). | Microsoft | 4 |
| Write code for atoi(x) where x is hexadecimal string. | Adobe | 2 |
| write a program for even numbers? | | 8 |
| differentiate between
const char *a;
char *const a; and
char const *a;
| HCL | 1 |
| |
| For more C Interview Questions Click Here |