View Full Version : Cpp Language
- What are the different types of Storage classes
- What are the different types of polymorphism
- Explain the need for "Virtual Destructor"
- What is the difference between "overloading" and "overriding"
- How to implement virtual functions in "C"
- What are the types of STL containers
- What is the Difference between "vector" and "array"
- What are inline functions
- What is "strstream"
- What is the Difference between a "assignment operator" and a "copy constructor"
- What is the Difference between "C structure" and "C++ structure"
- What is the output of printf("%d")
- Why do C++ compilers need name mangling
- What is the difference between a copy constructor and overloaded assignment operator
- What is Virtual Inheritance
- What are the differences between a struct in C and in C++
- What are the differences between public, private, and protected access
- What are the different operators in C++
- What is difference between initialization and assignment
- when can we use copy constructor
- What is the difference between method and message
- What is virtual constructor paradigm
- when can we use virtual destructor
- What is size of null class
- How the V-Table mechanism works
- What is the difference between Pointer and a Reference
- What happens if exception throws from object's constructor and object's destructor
- How to avoid a class from instantiation
- What is conversion constructor
- What is Name Decoration
- The "virtual" specifier in a member function enables which one of the following
- Which one of the following describes characteristics of "protected" inheritance
- Which of the Standard C++ casts can be used to perform a ?safe? downcast
- Find out the bug in this code,because of that this code will not compile
- what is the difference between c and c++
- Which uses less memory
- How long does this loop run
- What does the following do
- Evaluate the program
- What is Pure Virtual Function
- Why is it difficult to store linked list in an array
- How do you know that your class needs a virtual destructor
- The output of this two programs will be different why
- What is importance of data structure in a programming language
- What are advantages and disadvantages of Design patterns
- What the size of class EXP on 32 bit processor
- Why would you make a destructor virtual
- What is the Maximum Size that an Array can hold
- What is the difference between = and == in C
- Write a String class which has
- What is the Difference between "printf" and "sprintf"
- What is Memory Alignment
- Explain about profiling
- When to use Multiple Inheritance
- What is "map" in STL
- What is "mutable" keyword
- How many bit combinations are there in a byte
- In C++ cout is
- What is the wrong statement about c++
- what is pulse code modulation
- What is the difference between "calloc" and "malloc"
- What is a "RTTI"
- How can you force instantiation of a template
- What is the use of static functions
- How to stop conversions among objects
- When volatile can be used
- What is the difference between static global and global
- How do you link a C++ program to C functions
- How Virtual functions call up is maintained
- What is the output of this program
- Explain "passing by value", "passing by pointer" and "passing by reference"
- What are the techniques you use for debugging
- How to implement flags
- What about Virtual Destructor
- What is problem with Runtime type identification
- What are advantages of C++ when comparing with C
- How to avoid changing constant values
- How const functions will be treated by compiler
- When copy constructor can be used
- Can inline functions have a recursion
- What is the difference between shift left and shift right
- What issue do auto_ptr objects address
- What is the order of initialization for data
- How the compilers arrange the various sections in the executable image
- What is a constructor initialize list and when we use it
- What are the advantages and disadvantages of using inline and const
- How to construct virtual constructor
- How to construct muliton object
- what are raw sockets, where they are efficient
- What happens if an exception is throws from an object's constructor and destructor
- Can we declare destructor as static? Explain
- Explain working of printf
- How to write multithreaded applications using C++
- Why preincrement operator is faster than postincrement
- How to reduce a final size of executable
- What is the difference between dlearations int* x and int *x
- How can you find the nodes with repetitive data in a linked list
- explain the term "resource acquisition is initialization"
- What is the differnce between const char * andchar * const
- Write any small program that will compile in "C" but not in "C++"
- How is an Abstract Base Class(ABC) related to an "Abstract Data Type" (ADT)
- Explain the ISA and HASA class relationships
- How do we open binary files
- Can we generate a C++ source code from the binary file
- What is the difference between c and c++
- What is the difference between delete and delete [ ]
- How can we made digital calendar by using c++ class
- What is the difference between composition and inheritance
- What is void main mean
- What is abstracter in c++
- What is a friend function? its advantage
- What are the disadvantages of copy constructor
- What Is The Use of Virtual Destructer
- Can the structures contain the constructor? If yes, then how
- What is difference between copy constructor and constructor
- What is importance of const. pointer in copy constructor
- What happens to the member pointers when an exception occures in constructor, while
- What is virtual constructors/destructors
- What do you mean by pure virtual functions
- What is name space
- What is RTTI
- What do you mean by inline function
- What is virtual class and friend class
- What is function overloading and operator overloading
- What is the difference between realloc() and free()
- What do you mean by binding of data and functions
- What is friend function
- What is public, protected, private
- What is polymorphism? Explain with an example
- What is a class
- What is the difference between structures and classes in C++
- What is the difference between class and structure
- What are virtual functions
- What is a scope resolution operator
- What do you mean by inheritance
- What is the difference between an object and a class
- What is difference between constructor and destructor
- What is the difference between operator new and the new operator
- How can you force instantiation of a template
- What is the output of print f ("%d")
- What is the difference between "C structure" and "C++ structure"
- What is the difference between "overloading" and "overriding"
- Explain the need for "Virtual Destructor"
- What are the different types of polymorphism
- What are Virtual Functions? How to implement virtual functions in "C"
- What is the Basic nature of "cin" and "cout" and what concept or principle we are
- Can you explain the term "resource acquisition is initialization''
- What are the different types of Storage classes
- Can we have "Virtual Constructors"
- What are the types of STL containers
- What is the difference between "vector" and "array"
- How to write a program such that it will delete itself after execution
- Explain "passing by value", "passing by pointer" and "passing by reference"
- Can we generate a C++ source code from the binary file
- What are inline functions
- What is "strstream”
- Have you heard of "mutable" keyword
- What is a "RTTI"
- What is the need /use of function overloading
- What is the use of virtual destructor
- What is the difference between c&c++
- Why array index starts from 0[zero] only
- What is operator overloading?what r the advantages of operator overloading
- What is memory leaking in c++
- Write a program on inline function.And demonstrate the program with inline function
- What is the difference between inline function and function
- Is there any way to write a class such that no class can be inherited from it
- We can overload assignment operator as a normal function.But we can not overload
- What is the difference between a "assignment operator" and a "copy constructor"
- In c++ have a default constructor
- Why can't one make an object of abstract class?Give compiler view of statement
- Why Pointers are not used in C Language. What are the main differences between C
- How can double dimensional arrays be dynamically initialized in C++
- what are auto static variables and auto extern variables
- How can we define a dynamic memory allocation in UNIX operating system
- What is the difference between macro and inline()
- Can main() be overridden
- Why always array starts with index 0
- What is the difference between wait() and delay()
- Can we take "main function" as of type float,char etc
- What is function overriding
- What is the difference between Object and Instance
- What is the use of volatile keyword? Give me one example
- Is it possible to inherit the private member in derived class
- Can you allocate the memory using malloc() in C and deal locate the same memory using
- How do you write a program which produces its own source code as its output
- Define copy constructor? What is the use of copy constructor
- What is a memory leak? How can we avoid it
- What is the difference between Function and Member function
- What are the things contains in .obj file
- What is difference between follow in initialization. int iVar1; int iVar2 = int()
- Can destructor be private
- Class A() { }; int main() { A a; } Whether there will be a default contractor provide
- What will happen if I say delete this
- Why can't we overload the size of, :?, :: ., .* operators in c++
- What is an algorithm (in terms of the STL/C++ standard library)
- What is the difference between realloc() and free()
- What was C++ initially called
- Who has developed C++ and when it has been developed
- What is the single line comment used in C++
- What is the default return type of main () in C++
- What is the identifier used in C++ similar to print f () in C
- What is the identifier used in C++ similar to scan f () in C
- In which header file are C out and C in found
- Can you read multiple words using “cin”
- What are the sections of a C++ program
- What is the difference between C & C++ based on name limit
- List new keywords added to C++
- What is the difference between the array declarations in C & C++? Give an example
- What is the name of the operator “<<”
- What is the name of the operator “>>”
- What do you mean by cascading of operators? Give an example
- What is the number of bytes occupied by “size of (‘a’)”
- What is the advantage of C++ in case of variable declaration
- What is the difference between static and global variable
- Define #include
- What is the use of #define
- What is dynamic initialization
- What is a reference variable and what is its use
- Write the syntax of using reference variable
- What is a qualifier
- List few new operators used in C++
- What are the memory management operators used in C++
- What is the linefeed operator used in C++
- Give an example for explicit type conversion of variables used in C++
- List the control structures in C++
- List the different forms of If statement
- Write the syntax for simple If
- Write the syntax for if..else
- What is the multiway decision statement in C++
- Write the syntax for switch statement
- What are the types of loops in C++
- Name the entry controlled loop/s
- Write the syntax for do…while
- Write the syntax for while statement
- Write the syntax of for statement
- What is a control statement
- What is control variable
- What is conditional operator? What is its use
- What are the categories of relational operators
- Name the equality and relational operators
- What is the use of scope resolution operator
- What is the use of new operator
- Define volatile
- What are the manipulators
- What is integral widening conversion
- What is implicit conversion
- What is the difference between “constant pointer” and “pointer to a constant”
- What is the use of canst_cast operator
- Write the syntax for const_cast operator