CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
VC++ Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM MICROSOFT INTERVIEW QUESTIONS VC++ INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

VC++ Interview Questions & Answers - Learning Mode

Microsoft Visual C++ (often abbreviated as MSVC or VC++) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for Windows API, DirectX and .NET Framework.

Try VC++ Interview Questions & Answers - Exam Mode

1 2 3 Next

Sort By : Latest First | Oldest First | By Rating

VC++ Interview Questions & Answers - Learning Mode
Try VC++ Interview Questions & Answers - Exam Mode
Question: Name some important features of VC++?

Answer: Some of the important features of VC++ are as follows
1) Smart pointers
2) New containers
3) Expression parsing
4) Polymorphic function wrappers
5) Type traits and sophisticated random number generators. Source: CoolInterview.com
Question: Describe about unordered_map?

Answer: Unordered_map defines container template classes such as unordered map and unordered multimap template. Under declarations unordered map Class and unordered multimap class are defined. These classes store hash table. Source: CoolInterview.com
Question: Describe the role of envelope and letter classes.

Answer: August 20th, 2009 by sd | Posted in Uncategorized

I was actually asked this question at one of my interviews. I guess the single purpose of this question is to paralyze the interviewee. In my case the interviewer has achieved the goal and I am glad I did not pass an interview to that company. The interviewer actually tried to fetch a basic overview of C++ paradigms and design patterns (this envelope/letter paradigm is described in the book of Coplien from 1995) While I do not question t Source: CoolInterview.com
Question: Explain the program flow for a MFC based application ?

Answer: August 30th, 2009 by sd | Posted in Uncategorized<br><br>Global Application Object Creation -<br>enters into WinMain()<br>retrives the Global Application Object.<br>Call method of Global Application Object.<br>Call Run Method of Global Application Object.<br>Seeks for windows messages.<br>VC++ FAQ?s And Interview Questions and Answers<br><br>Popularity: 35% [?]<br> Source: CoolInterview.com
Question: Explain about CFrameWnd?

Answer: MFC has an extensive set of classes present in its library out of which CFrameWnd is one of those. This is a very important class and it is used frequently. User defined classes can be created by CFrameWnd. To create a windows frame CFrameWnd provides class. Source: CoolInterview.com
Question: Visual C++

Answer: August 30th, 2009 by sd | Posted in Uncategorized

Discuss Visual C++ Professional developments.
Inteview preparation. Logic efficiency.
VC++ FAQ?s And Interview Questions and Answers

Popularity: 69% [?]
Source: CoolInterview.com
Question: What problem does the namespace feature solve?

Answer: August 18th, 2009 by sd | Posted in Uncategorized

Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library?s external declarations with a unique namespace that eliminates the potential for those collisions.
VC++ FAQ?s And Interview Questions and Answers

Popularity: 90% [?]
Source: CoolInterview.com
Question: Explain about InitApplication()?

Answer: To display an output for a certain application programmers have to use InitApplication() method. InitApplication is a Boolean method. This function outputs a true if an application gets succeeded. If it did not succeed it displays a false command. Applications rely on this method to display a certain o/p. Source: CoolInterview.com
Question: What is CArchive class does?

Answer: This class helps to do the serialization and de-serialisation. storing of objects from and to disk storage. The CArchive class allows user to save a complex objects to the permanent storage (usually disk storage) binary format. This objects persists after those objects are deleted. Later you can load the objects from permanent storage, reconstituting them in memory. This process of making data persistent is called ?serialization.? Source: CoolInterview.com
Question: What problem does the namespace feature solve?

Answer: August 18th, 2009 by sd | Posted in Uncategorized

Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library?s external declarations with a unique namespace that eliminates the potential for those collisions.
VC++ FAQ?s And Interview Questions and Answers

Popularity: 38% [?] Source: CoolInterview.com
Question: What are all the situations where the /GS compiler is not applied.

Answer: These are the following situations where /GS compiler is not applied.
1) When functions do not contain a buffer
2) When optimizations is not enabled
3) It is obvious when functions are defined to have a variable argument list it cannot create a static cookie. Source: CoolInterview.com
Question: What is the entry point for window based applications ?

Answer: August 30th, 2009 by sd | Posted in Uncategorized

WinMain()
VC++ FAQ?s And Interview Questions and Answers

Popularity: 6% [?]
Source: CoolInterview.com
Question: Describe about unordered_map?

Answer: Unordered_map defines container template classes such as unordered map and unordered multimap template. Under declarations unordered map Class and unordered multimap class are defined. These classes store hash table. Source: CoolInterview.com
Question: Explain about utility?

Answer: Utility function has several general templates and can be used in Standard template library. Some of them are tuple element Class which is used to wrap the type of pair element. Get function is used to get an element from the pair object. Tuple size class wraps the pair element count. Source: CoolInterview.com
Question: Explain about the function regex?

Answer: This defines a template to parse certain regular expressions. It also defines several classes and functions to search text that is matching a regular expression object. There are many declarations, type definitions, template functions, and operator. Source: CoolInterview.com
Question: what is the use of AFX_MANAGE_STATE ?

Answer: MFC uses the resource handle of the main application to load the resource template. If you have an exported function in a DLL, such as one that launches a dialog box in the DLL, this template is actually stored in the DLL module. You need to switch the module state for the correct handle to be used. You can do this by adding the following code to the beginning of the function:
AFX_MANAGE_STATE(AfxGetStaticModuleState( ));
This swaps the current module state with the state returned from Afx Source: CoolInterview.com
Question: Redirecting Console Output

Answer: August 30th, 2009 by sd | Posted in Uncategorized

http://www.codeproject.com/threads/redir.asp

Popularity: unranked [?] Source: CoolInterview.com
Question: Explain about regex_search function?

Answer: Regex_search function searches for a regular expression. A true function is returned only when the search in its operand sequence succeeds. It also defines the various capture groups in the regular expression. Some of the parameters are alloc, Elem, RXtraits, etc. Source: CoolInterview.com
Question: What is the difference between struct and class?

Answer: There are few differences:
All members of struct are public.
Default inheritance for struct is public, where as for class the default inheritance is private.

Popularity: 77% [?] Source: CoolInterview.com
Question: Array Variable

Answer: August 29th, 2009 by sd | Posted in Uncategorized

#include
#define MAX_ARRAY_VARIABLES 50
#define MAX_VARIABLE_NAME_SZ 25
typedef struct {
char m_czVarName[MAX_VARIABLE_NAME_SZ];
int *pArray;
int iGroup;
int iSize;
}ArrayVariable;

class CVariableMgr
{
public:
CVariableMgr();
~CVariableMgr();
int processArrayVariableDataFile(char *czFile);
int getVariable(char *czName, ArrayVariable& Data);
private:
//
int addVariable(char *czName Source: CoolInterview.com

1 2 3 Next



India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0 Seconds