| Other C Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST | Adobe | 2 |
| write a 'c' program to sum the number of integer values | | 5 |
| logic for generating all the combinations of the any number
of given letters.
ex:::::::::
if a,b,c,d are given the o/p should be
abcd,dcba,dbac,bcad,................
4*3*2*1 combinations............ | Infosys | 2 |
| Find Index of least significant bit set in an Integer. ex.
int value is say 10001000 results should be 4. | | 1 |
| what is the difference between. system call and library
function? | CDAC | 2 |
| write a program to search for an element in a given array.
If the array was found then display its position otherwise
display appropriate message in c language | | 3 |
| write a function for strtok()?? | Verifone | 1 |
| Give a method to count the number of ones in a 32 bit number? | | 1 |
| Look at the Code:
main()
{
int a[]={1,2,3},i;
for(i=0;i<3;i++)
{
printf("%d",*a);
a++;
}
}
Which Statement is/are True w.r.t the above code?
I.Executes Successfully & Prints the contents of the array
II.Gives the Error:Lvalue Required
III.The address of the array should not be changed
IV.None of the Above.
A)Only I B)Only II C)II & III D)IV
| Accenture | 3 |
| How can I make a program in c to print 'Hello' without
using semicolon in the code? | C-DAC | 5 |
| without using arithmatic operator solve which number is
greater?????????? | | 1 |
| write a program to check whether a given integer is a strong
number or not?
[Hint:
145=1!+4!+5!
=1+24+120
=145]
| | 2 |
| If we give two names then this displays the connection
between the two people. It is nothing but flames game | | 1 |
| How can I call a function, given its name as a string? | ABC-Telecom | 2 |
| if array a conatins 'n' elements and array b conatins 'n-1'
elements.array b has all element which are present in array
a but one element is missing in array b. find that
element. | Zycus-Infotech | 9 |
| Is the C language is the portable language...If yes...Then
Why...and if not then what is problem so it is not a
Portable language..??? | TCS | 1 |
| Write a program to print all the prime numbers with in the
given range | ABC | 1 |
| can i know the source code for reversing a linked list with
out using a temporary variable?
| Honeywell | 6 |
| What is volatile | | 2 |
| what is the diference between pointer to the function and
function to the pointer? | | 2 |
| |
| For more C Interview Questions Click Here |