HOME C C++ STL MFC Win32 SDK ATL COM DCOM WinCE Socket DataStructure Windows SQL Multi Threading

Questions asked in VC++ Interviews

1. What is the difference between critical section, mutex and semaphore ? Explain synchronization methods in win32 / MFC. Answers.....

2. Name few classes in MFC which are not derived from CObject class ? Answers....

3. What is the top base class for MFC Framework? If I derive a new class from CObject class what are the basic features my derived will get? OR what are the main features provided by CObject class? Answers.....

4. What is the Sub classing ? Explain customized control development ? Answers....

5. What is a DLL ? What are different dll's supported in VC++ ? Explain different types of dll's. Answers.....


6. Find Nth Node from End of the Singly linked list ?Answers.....

7. Explain pointer to the constant and constant pointer ? What is the difference between them ? Answers....

8. What is the use of CCmdTarget? Explain Command or Message routing with SDI & MDI applications? Answers.....

 9. What is document-view architecture? Give me one real time example for SDI? Answers....

10. What is a copy constructor ?What is the need for it ? What is the Shallow and deep copy ? When it gets called ? Write the signature ? What is the difference between copy constructor and overloaded assignment operator ? Answers.....

11. What is an overloaded assignment operator ? What will happen if we assigned object to self( object1 =object1) ? What is the difference between copy constructor and overloaded assignment operator ? Answers.....

12. What is the use of SendMessage() and PostMessage() and difference between them ?   Answers....

13. Explain modal and modeless dialog box ? what is the difference between modal and modeless dialog box ? Answers....

Contents
Technology Articles File Operations Using Windows Shell Threading Handling System Tray
Regular Dll'sExtenstion DllsExplicit and Implicit Dll Loading
Simple Splitter window and MDIDynamic Splitter Window MDI - Multiple Document InterfaceDynamic Splitter Window MDI and Opening Different Types of Document