Intel Corporation Interview Question

1. Write the most efficient algorithm to find square/square root of a number. 2. Write the most efficient algorithm to find if a number is prime or not. 3. At Bit level, how will you find if a number is a power of 2 or not. 4. What is call by value, call by reference in C language. 5. Projects done in MTech