| Other C Code Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| Program to find the largest sum of contiguous integers in
the array. O(n) | | 5 |
| to remove the repeated cahracter from the given caracter
array.
i.e..,
if the input is SSAD
output should of
SAD | Synergy | 6 |
| how can u draw a rectangle in C | Wipro | 23 |
| 1)
int i=5;
j=i++ + i++ + i++;
printf("%d",j);This code gives the answer 15.But if we
replace the value of the j then anser is different?why?
2)int i=5;
printf("%d",i++ + i++ + i++);
this givs 18. | Infosys | 3 |
| how to return a multiple value from a function? | Wipro | 3 |
| How can u say that a given point is in a triangle?
1. with the co-ordinates of the 3 vertices specified.
2. with only the co-ordinates of the top vertex given. | | 1 |
| How to read a directory in a C program?
| | 3 |
| How to reverse a String without using C functions ? | Wipro | 8 |
| Finding a number which was log of base 2 | NetApp | 1 |
| Give a oneline C expression to test whether a number is a
power of 2?
| Motorola | 8 |
| how to return a multiple value from a function? | Wipro | 1 |
| program to Reverse a linked list | Ness-Technologies | 2 |
| Program to Delete an element from a doubly linked list.
| Infosys | 4 |
| How do I write a program to print proper subset of given
string . Eg :input: abc
output:{},{a},{b},{c},{a,b},{a,c},{b,c},
{a,b,c}.I desperately need this program please mail me to
saravana6m@gmail.com | Deshaw | 7 |
| How do you write a program which produces its own source
code as its output?
| | 4 |
| How do you sort a Linked List (singly connected) in O(n)
please mail to pawan.10k@gmail.com if u can find an
anser...i m desperate to knw... | Oracle | 3 |
| String reverse with time complexity of n/2 with out using
temporary variable. | NetApp | 5 |
| Finding a number multiplication of 8 with out using
arithmetic operator | NetApp | 7 |
| Write, efficient code for extracting unique elements from
a sorted list of array.
e.g. (1, 1, 3, 3, 3, 5, 5, 5, 9, 9, 9, 9) -> (1, 3, 5, 9).
| Microsoft | 8 |
| Link list in reverse order. | NetApp | 7 |
| |
| For more C Code Interview Questions Click Here |