Programming Puzzles Some companies certainly ask for these puzzles. Speci ally Microsoft. stage atomic number 18 my favorite puzzles. 1. draw up a Hello transition program in C without utilize a semicolon. 2. Write a C++ program without utilize any loop (if, for, spellbind etc) to print pieces 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 apply multiplication (*) operator. 6. C/C++ : Write a function in several(predicate) ways that pass on return f(7) = 4 and f(4) = 7 7. Remove duplicates in roam 8. Finding if there is any loop inside united 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 sham of the source. free to say, hardly echoing the actual source file is not allowed. 12. From a pool of numbers (four 1s, four 2s .... four 6s), each thespian selects a number and adds it to the summarise. Once a number is used, it essential 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 atomic number 18 seek questions. Personally I hate asking questions related to code. If you penury near old question papers of some Indian IT industries , You many find it here 1 . What is the output of printf(%d) 2. W! hat will play if I say delete this 3. expiration in the midst of C social organization 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. bay window 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, purchase order it on our website:
OrderCustomPaper.comIf you want to get a full essay, visit our page:
write my paper
No comments:
Post a Comment