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]; };
Software Interview Questions
748,264 software interview questions shared by candidates
Write a function that gets the number of squares between two numbers
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);
Detecting memory leaks in Java? Interprocess communication in Android? A lot of specific knowledge based questions that do not really provide good representation of someone's technical ability
Timed leetcode style questions. Rotate an array 90 degrees, implement an hashmap that allows for changing keys and updating all values.
Viewing 1401 - 1410 interview questions