Answer
Multiply by 8 via shift and substract the number:
int multiply(int num)
{
return (num << 3) - num;
}
...
Published Questions
How to fast multiply a number by 7?
Posted by CMaster
Understand the capability of the tool
Discuss with existing users of the tool
Check for compatibility with existing software, hardware and system
...
Executive leaders - They are the person who take the leadership of Six sigma, CEO, owner , promoter of Six Sigma throughout organi ...
Breaking down project among team members depends on the organization structure.
The basic roles are as follows
QA manager - Manages the Testing activ ...
Find largest element in array
Posted by CMaster
Answer in C#
public static int FindMax( int[] input )
{
int max = Int32.MinValue;
for ( int i = 0; i < input.length; i++ )
{
if ( i ...
What is XAML ?
Posted by CMaster
Extensible Application Markup Language (XAML, pronounced zammel) is a declarative XML-based language created by Microsoft which is used to initialize ...
Can you explain calibration?
Posted by priyanka
Calibration is a part of ISO 9001 quality model. It includes tracing the accuracy of the devices used in the production, development and testing. Devi ...
An Elementary process is the smallest unit of any business activity. It has to have a meaning or a purpose. An elementary process is complete, wh ...
The differences between mutexes and semaphores are that semaphores are operating system dependent, though mutexes are implemented by specialized and f ...
What is Mutex?
Posted by CMaster
A mutex is a binary semaphore that usually incorporates extra features, such as ownership, priority inversion protection or recursivity.
Sort Questions
Saved Stories
Common Interview is a place to help people keep up with the latest trends in job interviewing. You can interact by asking interview questions or by providing answers and ratings. Choose from thousands behavioural, technical, testing or program management questions and interview puzzles.
