Professional Documents
Culture Documents
Is there another way to tell the compiler to make a member function inline other than using inline
keyword?
What is a reference?
Explain on Const?
What is an object?
Define Encapsualtion?
Can one constructor of a class call another constructor of the same class to initialize the this
object?
Can you initialize static member data in the constructor's initialization list?
void userCode()
{
Fred a;
Fred b;
// ...
}
void userCode()
{
Fred a[10];
// ...
}
What is a Constructor?
What is a Destrutor?
What is a DownCast?
What's the difference between "const Fred* p", "Fred* const p" and "const Fred* const p"?
STL
Advantage of STL?
What is an Iterator?
MFC
Explain Document-view architecture
Exceptions in C++?
How will you create exception in your application?
What functions are used when DLL without import lib is used?
What happens when you add variable or add new function in debug session? Can you continue?
COM
What is COM?
Define AUTOMATION?
What is Marshalling?
What is an Idispatch?
What is an HRESULT?
If you have an object with two interfaces, can you custom marshal one of them?
What does in, out and retval signify when adding a method to an IDL file?
Which are the different ways in which we can access the methods of a component through an MFC
VC++ client?
OOPS
Define ROSE ?
Explain OO concepts.
What is MVC?
Define Lifecycle ?
Define Process ?
Define CMM ?
Define Metrics ?
Define UML?
What is a Trigger?
What class you in MFC use to connect to Database? And Connect to Tables?
DataBase Arch
What is Normalization?
Define ER Diagram ?
Which of the following is the correct declaration for the function main() ?
if ptr is defined as int *ptr[][100]; which of the following correctly allocates memory for ptr?
Swapping Problem:
#define swap1(a,b) a=a+b;b=a-b;a=a-b;
main()
{
int x=5,y=10;
swap1(x,y); //swap action takes place
printf("%d %d\n",x,y);
swap2(x,y); //no swap action takes place
printf("%d %d\n",x,y);
}
int swap2(int a,int b)
{
int temp;
temp=a;
b=a;
a=temp;
return;
}
Ans
How can I find the path my application or DLL was loaded from?
Explain Auto-ptr?
Explain DNA?
What is DOM?
What is SAX?
What is XML?
Differentiate between SAX(Simple API for XML) and DOM (Document Object Model) ?
How to resolve duplication of names when 2 or more xml documents are used in an application?
How to specify attributes that are mandatory ./ non-mandtory ? what is the key word used ?
How to set restricted/ acceptable values for XML elements or attibutes? What is the exact
terminology for this?
What is a XSL?
What is a XSLT?
Explain Polymorphism?
Define Assert?
Define Trace?
Explain DeadLock ?
What is SOAP?
Explain Usecase?
What is No-adhoc-Testcase?
What you will avoid doing when using with new operator?
Explain reliability?
Explain Availability?
Explain Extensibility?
What is UML?
Is UML a standard?
Do I really need UML? Can't I just describe how my application is designed using regular words?
I already use project management software to plan my software development projects. Why should I
use UML?
What is a process?
What is an artifact?
What does the new #import keyword do and why would I use it?
Should I use ATL's smart pointers CComPtr or the native _com_ptr_ type?
Define Assert?
Define Verify ?
What is an Exception ?
Define FireWall?
How can I establish a dynamic two-dimension array with the new operator?
Can I overload operator== so it lets me compare two char[] using a string comparison?
Should I design my classes from the outside (interfaces first) or from the inside (data first)?
What if I forget the [] when deleteing array allocated via new T[n]?
Miscellaneous