When is dynamic checking necessary? - Whenever the definition of a variable is not necessary before its usage....
|
Structured programming - Structured programming techniques use functions or subroutines to organize...
|
Object oriented programming - Object oriented programming uses objects to design applications...
|
What are the ways to comment statement in C++? - C++ supports two types of comments....
|
Structure in C++ - The C++ programming technique allows defining user defined datatypes through structure..
|
What is reference variable in C++? - A reference variable is just like pointer with few differences...
|
Class using C++ - A class holds the data and functions that operate on the data....
|
Local class in C++ - Local class is define within the scope of a function and nested within a function...
|
Default access level - The access privileges in C++ are private, public and protected. The default access....
|
Friend class in C++ - When a class declares another class as its friend, it is giving complete access...
|
Default constructor - Default constructor is the constructor with no arguments or all the arguments has default values..
|
What is abstraction? - The process of hiding unnecessary data and exposing essential features is called abstraction....
|
Overriding - Defining a function in the derived class with same name as in the parent class.
|
Copy constructor - A copy constructor is a special type of constructor that is used to create an object...
|
Define private, protected and public access control - Private is the default access specifier for every declared data item in a class.....
|
Turbo C++ - Turbo C++ provides an environment called IDE (Integrated Development...
|
How to control the number of chars read in a string by using scanf()? - Doing this limits the length of the characters that will be read by scanf() to 20 characters.....
|
How to detect an end of a file? - You can either use the ifstream object ‘fin’ which returns 0 on an end of file...
|
What are recursive functions? - A recursive function is a function which calls itself...
|
Difference between an external iterator and an internal iterator - An internal iterator is implemented by the member functions of the class....
|
Passing objects by reference, passing objects by value and passing objects by pointer - The callee function receives a set of values that are to be received by the parameters...
|
Explain the concepts of throwing and catching exceptions - C++ provides a mechanism to handle exceptions which occurs at runtime...
|
What are the advantages of “throw.....catch” in C++? - Code isolation: All code that is to be handled when an exception raises is placed....
|
What are friend classes? - The friend function is a ‘non member function’ of a class.....
|
What are zombie objects in C++? - An object creation of a class is failed before executing its constructor....
|
Difference between Stack and Queue - Stack is a Last in First out (LIFO) data structure....
|
What is Stack? Explain its uses - Stack is a Last in First out (LIFO) data structure..
|
What is a Wrapper class? - Wrapper classes are classes that allow primitive types to be accessed as objects...
|
What do you mean by stack unwinding? - When an exception is thrown, C++ calls destructors to destroy all the objects....
|
What is the use of ‘using’ declaration? - In using-declaration, we have using keyword followed by a fully qualified name...
|
Difference between Mutex and Binary semaphore - Semaphore synchronizes processes where as mutex synchronizes threads...
|
What is the scope resolution operator? - Scope resolution operator allows a program to reference an identifier in the global...
|
What are the advantages of inheritance? - Code reusability, Saves time in program development....
|
What is a conversion constructor? - It is a constructor that accepts one argument of a different type..
|
Explain the advantages of inline functions - It relieves the burden involved in calling a function. It is used for functions that need fast execution.....
|
Different access specifiers for the class member in C++ - private: It is default one and can be access from class member of the same class...
|
What is the importance of mutable keyword? - The mutable keyword allows the data member of a class to change...
|
Pointer vs. reference - A reference must be initialized at the time of declaration whereas not needed...
|
Explain how to call C functions from C++ - The extern keyword is used to call C functions from C++...
|
How to declare a class as a friend of another class..
|
Class vs. Structure - Class has private as default access specifier.Default inheritance type is private......
|
How to call a base member function from derived class member function....
|
Is it possible to overload a constructor? - Yes it is possible. A constructor can be overloaded to pass different arguments to the object....
|
Overriding vs. overloading - Overloading means having methods with same name but different signature....
|
Static vs. dynamic binding - Binding means connecting the function call to a function implementation...
|
What is abstract class? - A class whose object can't be created is abstract class...
|
Vector vs. Map - In a vector, all the elements are in a sequence...
|
object oriented language(OOPS) elements - Elements of an object oriented language, characteristics of Object Oriented programming language, basic Concepts used in the Object-Oriented Programming language.
|
C++ constructors and destructors - Explain the use of Constructors, Explain the use of Destructors, Explain constructors and destructors, What are constructors?, What is a destructor?
|
C++ access privileges - You have access privileges in C++ such as public, protected and private that helps in encapsulation of data..
|
C++ Structures and Classes - Syntactically and functionally, both structures and classes are identical. By default, members of structures..
|
C++ Container class - A container stores many entities and provide sequential or direct access to them. List, vector and strings are such containers...
|
C++ Storage classes - Storage class defined for a variable determines the accessibility and longevity of the variable. The accessibility of the variable.
|
C++ Iterator class - There are several different types of iterators:...
|
C++ pure virtual functions - What are pure virtual functions?, What is a virtual base class?, What are virtual functions?
|
What is Swing?, What is AWT?, What are the differences between Swing and AWT?, What are heavyweight components? What is lightweight component?
|
Questions on C++ Syntax - What are the Sizes and ranges of the Basic C++ data types?, What are the new features that ISO/ANSI C++ has added to original C++ specifications? etc.
|