Given 9 ball with only one differ in weight, how to find out by measuring them only twice?
Programmer Trainee Interview Questions
712,980 programmer trainee interview questions shared by candidates
1) How to reverse a string?
Find the second largest number in the array.
What will be the sizeof the following structure on a 32-bit machine: struct s { int i; char c; long d; void *p; int a[0]; };
How to find that a given number is even or odd without using (if, else, any loop, conditional operator ,switch). You can use only a "%" sign.
Given a stack containing values, implement min() operation to find minimum of all the values in O(1) time. Push() and Pop() should run in O(1) as well.
Convert : person_First_Name to personFirstName
When you have multiple classes in C++ in a hierarchy, what was the way in which the ctors and dtors are called.
Why is your average pointer around 8 only?
Find the bug in code. int sum; for (int i=1; i<11; ++i) sum=sum+i; printf("%d",sum);
Viewing 1321 - 1330 interview questions