Walkins Openings in India & Interview Questions

Walkins in Mumbai, Bangalore, Chennai, Delhi, Gurgaon, Pune


‘C++ Interview Questions’ - KyaPoocha.com

What problem does the namespace feature solve? 

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... Read more »

Differentiate between a template class and class template? 

Template class:-A generic definition or a parameterized class not instantiated until the client provides the needed information. It’s jargon for plain templates. Class... Read more »

When does a name clash occur? 

A name clash occurs when a name is defined in more than one place. For example., two different class libraries could give two different classes the same name. If... Read more »

What is a dangling pointer? 

A dangling pointer arises when you use the address of an object after its lifetime is over. This may occur in situations like returning addresses of the automatic... Read more »

Differentiate between the message and method. 

Message:- Objects communicate by sending messagesto each other.A message is sent to invoke a method. Method:-  Provides response to a message.It is an implementation... Read more »

What is class invariant? 

A class invariant is a condition that defines all valid states for an object. It is a logical condition to ensure the correct working of a class. Class invariants... Read more »

Define precondition and post-condition to a member function. 

Precondition:-A precondition is a condition that must be true on entry to a member function. A class is used correctly if preconditions are never false. An operation... Read more »

What is an orthogonal base class? 

If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes... Read more »

What is a container class? What are the types of container classes? 

A container class is a class that is used to hold objects in memory or external storage. A container class acts as a generic holder. A container class has a predefined... Read more »

What is a protocol class? 

An abstract class is a protocol class if:- It neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected)... Read more »

What is the handle class? 

A handle is a class that maintains a pointer to an object that is programmatically accessible through the public interface of the handle class. Explanation:In case... Read more »

What is a parameterized type? 

A template is a parameterized construct or type containing generic code that can use or manipulate any type. It is called parameterized because an actual type is... Read more »

Differentiate between a deep copy and a shallow copy? 

Deep copy involves using the contents of one object to create another instance of the same class. In a deep copy, the two objects may contain ht same information... Read more »

What is reflexive association? 

The ‘is-a’ is called a reflexive association because the reflexive association permits classes to bear the is-a association not only with their super-classes... Read more »

Will the inline function be compiled as the inline function always? Justify. 

An inline function is a request and not a command. Hence it won’t be compiled as an inline function always. Explanation:Inline-expansion could fail if the inline... Read more »

What is a smart pointer? 

A smart pointer is an object that acts, looks and feels like a normal pointer but offers more functionality. In C++, smart pointers are implemented as template classes... Read more »

Differentiate between a deep copy and a shallow copy? 

Deep copy involves using the contents of one object to create another instance of the same class. In a deep copy, the two objects may contain ht same information... Read more »

What will a read() function do? 

A method in Input Stream.It reads a single byte or an array of bytes.Returns no of bytes read or -1 if EOF(End of file)is reached  Read more »

Static binding occurs at Compile Time,Runtime? 

Both at compile and runtime.  Read more »

What is an abstract class? 

A class which cannot be Instantiated.  Read more »

Page 2 of 11«12345»...Last »
  • Subscribe

      Get Latest Walkins in your INBOX, enter your email address:


  • Walkins by Location


  • Walkins by Skills