Pages

Ads 468x60px

Monday, November 17, 2008

c++ quesfor placement / aptitude / interview/assessment/multiple choice/career/campus

c++ questions for placement / aptitude / interview/assessment/multiple choice/career/campus




* What is a container class? view answer
* What is an orthogonal base class? view answer
* What is a node class? view answer
* Name some pure object oriented languages. view answer
* What are proxy objects? view answer
* What are the conditions that have to be met for a condition to be an invariant of the class? view answer
* Define precondition and post-condition to a member function. view answer
* What do you mean by Stack unwinding? view answer
* What is class invariant? view answer
* What is a Null object? view answer
* What is an adaptor class or Wrapper class? view answer
* Differentiate between the message and method. view answer
* What is a dangling pointer? view answer
* *i=0; view answer
* int *i=0x400 // answer = ? view answer
* What is an incomplete type? view answer
* List out some of the object-oriented methodologies. view answer
* List out some of the OODBMS available. view answer
* What is an Iterator class? view answer
* What is the use of ?using? declaration. view answer
* Define namespace. view answer
* When does a name clash occur? view answer
* Differentiate between a template class and class template. view answer
* What is an accessor? view answer
* What is a modifier? view answer
* How do you find out if a linked-list has an end? (i.e. the list is not a cycle) view answer
* How do you write a function that can reverse a linked-list? view answer
* Can a copy constructor accept an object of the same class as parameter, instead of reference of the object? view answer
* What is a local class? Why can it be useful? view answer
* hat is a nested class? Why can it be useful? view answer
* What are the access privileges in C++? What is the default access level? view answer
* What is multiple inheritance(virtual inheritance)? What are its advantages and disadvantages? view answer
* How do you access the static member of a class? view answer
* What does extern "C" int func(int *, Foo) accomplish? view answer
* What are the differences between a C++ struct and C++ class? view answer
* Can you overload a function based only on whether a parameter is a value or a reference? view answer
* Can you think of a situation where your program would crash without reaching the breakpoint which you set at the beginning of main()? view answer
* What is Virtual Destructor? view answer
* How can I handle a destructor that fails? view answer
* How can I handle a constructor that fails? view answer
* What is the difference between const char *myPointer and char *const myPointer? view answer
* How are prefix and postfix versions of operator++() differentiated? view answer
* What is the difference between a pointer and a reference? view answer
* What is name mangling in C++?? view answer
* What happens when you make call "delete this;" ?? view answer
* What is "this" pointer? view answer
* What is Overriding? view answer
* What is overloading?? view answer
* What is inline function?? view answer
* What is a container class? What are the types of container classes? view answer
* Name the operators that cannot be overloaded?? view answer
* What do you mean by Stack unwinding? view answer
* What is a dangling pointer? view answer
* What is an Iterator class? view answer
* What is the use of 'using' declaration? view answer
* What problem does the namespace feature solve? view answer
* What is Memory alignment?? view answer
* What is pure virtual function? or what is abstract class? view answer
* What is virtual function? view answer
* When are temporary variables created by C++ compiler? view answer
* When do use "const" reference arguments in function? view answer
* What is reference ?? view answer
* What are storage qualifiers in C++ ? view answer
* What is the diff between "new" and "operator new" ? view answer
* What is diff between malloc()/free() and new/delete? view answer
* What is conversion operator?? view answer
* What is conversion constructor? view answer
* What is assignment operator? view answer
* What is copy constructor? and copy constructors called? view answer
* What is default constructor? view answer
* What is destructor? view answer
* What is constructor or ctor? view answer
* What is Polymorphism?? view answer
* What is inheritance? view answer
* What is encapsulation?? view answer

0 comments: