| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Give me basis knowledge of c , c++... | | 4 |
| fn f(x)
{ if(x<=0)
return;
else f(x-1)+x;
}
| HCL | 3 |
| n=7623
{
temp=n/10;
result=temp*10+ result;
n=n/10
}
| Wipro | 3 |
| Give a fast way to multiply a number by 7 | Microsoft | 8 |
| two progs are given. one starts counting frm 0 to MAX and
the other stars frm MAX to 0. which one executes fast.
| Verifone | 3 |
| Add 2 64 bit numbers on a 32 bit machine | NetApp | 1 |
| what is the value of 'i'?
i=strlen("Blue")+strlen("People")/strlen("Red")-strlen("green")
| Cadence | 3 |
| write the function int countchtr(char string[],int
ch);which returns the number of timesthe character ch
appears in the string. for example the call countchtr("she
lives in Newyork",'e') would return 3. | | 4 |
| write a program to find out number of on bits in a number?
| Huawei | 11 |
| Write a program to exchange two variaables without temp | Geometric-Software | 5 |
| Software Interview Questions | CAT | 1 |
| What is encapsulation? | | 1 |
| why java is called as a purely oops language. | | 2 |
| write a program to sort the elements in a given array in c
language | | 2 |
| 1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<= | Siemens | 7 |
| Write a program that takes three variables(a,b,c) in as
separate parameters and rotates the values stored so that
value a goes to b,b,to c and c to a | | 2 |
| What do you mean by team?? | | 2 |
| What is C language Terminator? | TCS | 12 |
| what is a far pointer | TCS | 8 |
| hello friends
what do u mean by BUS ERROR
i got this error while i am doing my program in DATA STRUCTURES | Wipro | 2 |
| |
| For more C Interview Questions Click Here |