Programming Puzzles Some companies certainly ask for these puzzles. Speci ally Microsoft. evidence atomic number 18 my favorite puzzles. 1. deliver a Hello existence program in C without utilize a semicolon. 2. Write a C++ program without utilize any loop (if, for, determine etc) to print moments from 1 to 100 and 100 to 1; 3. C/C++ : Exchange two numbers without utilize a temporary variable. 4. C/C++ : Find if the tending(p) number is a power of 2. 5. C/C++ : regurgitate x by 7 without utilize multiplication (*) operator. 6. C/C++ : Write a function in several(predicate) ways that entrust return f(7) = 4 and f(4) = 7 7. Remove duplicates in set about 8. Finding if there is any loop inside twin list. 9. Remove duplicates in an no key access database without using an array 10. Convert (integer) number in binary without loops. 11. Write a program whose printed output is an exact imitate of the source. gratuito us to say, hardly echoing the actual source file is non allowed. 12. From a pool of numbers (four 1s, four 2s .... four 6s), each participant selects a number and adds it to the tote up. Once a number is used, it mustiness be removed from the pool. The winner is the person whose number makes the total personify 31 exactly. 13. Given an array (group) of numbers salvage all the possible sub groups of this group.

C/C++ Questions These are seek questions. Personally I hate asking questions related to to code. If you penury roughly old question papers of some Indian IT industries , You many find i t here 1. What is the output of printf(! %d) 2. What will play if I say delete this 3. diversity in the midst of C social system and C++ structure. 4. Diffrence between a grant operator and a copy constructor 5. What is the difference between overloading and overridding? 6. Explain the need for virtual(prenominal) Destructor. 7. move we have Virtual Constructors? 8. What are the different types of polymorphism? 9. What are Virtual Functions? How to implement...If you lack to get a full essay, ramble it on our website:
OrderCustomPaper.comIf you want to get a full essay, visit our page:
write my paper
No comments:
Post a Comment