If you were designing a multi-threaded program to crunch numbers and do highly cpu intensive processing would you expect a single threaded program to do better or one using 50 threads and why?
C Software Developer Interview Questions
3,500 c software developer interview questions shared by candidates
related to prefix and postfix ++ operator ,very basic c output questions,if you can print "hello world" without semicolon.
1. difference between reference and pointer 2. implement std::vector class 3. given a std::string parameter, implement a function to check palindrome
"Write a subroutine, function, or method that takes an array of characters and returns an array of the same characters in reversed order with every consonant between 'a' and 'z' lower cased and every vowel between 'a' and 'z' upper cased."
Describe your experience with multithreaded processes
Find sum of First 100 even number divisible by 8 or 5. If u solve those question they took apptitude test on the same day.
In Written round, 30 Questions on C++, most of the questions are from Exception handling, Inheritance,Polymorphism and basics plus average of C++.
1. Write a function (in any programming language) that gets an integer parameter and returns the number of 1 digits in its binary representation. 2. How would you implement this even faster if you had infinite memory and processing capabilities.
Imagine dropping a Rubik's Cube into a bucket of paint. How many of the cubes will get paint on them?
Implement an efficient operation on some unique data structure based on an internal std::map
Viewing 31 - 40 interview questions