Learn C++: Basic
Topics: All about Basic'
Browse all answers:
What is C++
Describe about private access specifier?
what is memory leaking in c++ ?
What do you meant by static and dynamic modeling?
What is prototype in c++ and c?
what are the differences between member function and constructor?
What are the things contains in .obj file ? ( compiled result of .cpp file )
why c++ is called as object-oriented language? Here what does object mean?
Why generalization is very strong?
Write a short code using C++ to print out all odd number from 1 to 100 using a for loop
What is the difference between class and structure?
How do you specify a custom attribute for the entire assembly (rather than for a class)?
What is the difference between an object and a class?
What is the difference between Object and Instance?
Difference between "C structure" and "C++ structure".
What is encapsulation?
In c++ have a default constructor ?
What is the return value for getch()?
What is Difference between c and c++?
what are the differences between c and c++? If possible give more points.what are the disadvantages of C++?
What are inner class and anonymous class?
what are the differences between c and c++.what are the advantages the are only in c++ but not in c
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
Why can't one make an object of abstract class?Give compiler view of statement
What is the definition of abstract class and virtual function?
Explain about protected internal access specifier?
what is the difference between c&c++?
What is the difference between structures and classes in C++?
Define access specifier with reference to class?
Program to multiply 2 numbers without using * operator?
What is class?What is object?Describe these 2 with example.
What are the different types of Storage classes?
What are the major differences between C, C++, JAVA?
What is an enumerator?
I am a new computer engineering student can you please explain what is c++ and its uses please answer me this question as faster as you can?
Can constructors & destructor be virtual ?
What is Boyce Codd Normal form?
What is the difference between an object and a class?
What is abstraction?
What is the Basic nature of "cin" and "cout" and what concept or principle we are using on those two?
write function push () of stack that it doubles the length of the array when the array is full
Different types of languages compare in c++ and other languagesOops concepts in other language oops
From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?
How do you access the static member of a class?
write aprogram in c++ to read the tokens in one at a time ,if it isinteger,push it on stack, if it is binary operator, pop two elementsfrom the stack, apply the operator to the two elements and push the result back on the stack??
Explain about member functions?
The class which acts as interface between the C++ and the Java layer?
What is an object?
What are the advantages of OOPL?
How is method overriding different from overloading?
What is a class?
What are the defining traits of an object-oriented language?
Define a class named cord, a point in Cartesian coordinate system where each point has two int type values x and y. Your class must contain necessary constructors and arithmetic operator functions. Write necessary codes to test your class?
What is a local class?
Name some pure object oriented languages?
What is the difference between Mutex and Binary semaphore?
Define a constructor - What it is and how it might be called (2 methods).
How do you traverse a Btree in Backward in-order?
What is a conversion constructor C++?
Explain the scope resolution operator.
What is an adaptor class or Wrapper class in C++?
STL Containers - What are the types of STL containers?
RTTI - What is RTTI in C++?
What does extern mean in a function declaration in C++?
What is a default constructor?
I was trying to use an out int parameter in one of my functions. How should I declare the variable that I am passing to it?
Which type of questions are asked in interviews?
Explain term POLIMORPHISM and give an example using eg. SHAPE object: If I have a base class SHAPE, how would I define DRAW methods for two objects CIRCLE and SQUARE
What do you mean by Stack unwinding in C++?
Will this C++ program execute or not?
How do you decide which integer type to use?
Describe run-time type identification.
In C++, what is the difference between method overloading and method overriding?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is the difference between an object and a class?
Define parameter by value?
What is encapsulation in C++?
How do you link a C++ program to C functions?
What is meant by software development method?
What are the advantages of inheritance in C++?
What is an explicit constructor?
Are there any new intrinsic (built-in) data types?
When does a name clash occur in C++?
What methods can be overridden in Java?
When is a template a better solution than a base class?
You have two pairs: new() and delete() and another pair : alloc() and free(). Explain differences between eg. new() and malloc()
Write a function that swaps the values of two integers, using int* as the argument type.
Write a program that ask for user input from 5 to 9 then calculate the average
Assignment Operator - What is the diffrence between a "assignment operator" and a "copy constructor"?
What is an orthogonal base class in C++?
Can you be bale to identify between Straight- through and Cross- over cable wiring? and in what case do you use Straight- through and Cross-over?
What is public, protected, private in C++?
What is abstraction in C++?
What is the Standard Template Library (STL)?
What problem does the namespace feature solve?
What is class invariant in C++?
How many ways are there to initialize an int with a constant?
What is friend function in C++?
What is virtual constructors/destructors?
Define precondition and post-condition to a member function in C++?
What is a default constructor in C++?
What is an accessor in C++?
How can you quickly find the number of elements stored in a a) static array b) dynamic array ?Why is it difficult to store linked list in an array?How can you find the nodes with repetetive data in a linked list
What problems might the following macro bring to the application?
What is virtual class and friend class?
What is polymorphism in C++? Explain with an example?
What is the difference between char a[] = ?string?; and char *p = ?string?;?
How do I initialize a pointer to a function?
How do you link a C++ program to C functions?
What is a mutable member?
What is polymorphism in C++?
In the derived class, which data member of the base class are visible?
What can I safely assume about the initial values of variables which are not explicitly initialized?
What is an incomplete type in C++?
What is pure virtual function?
How do you find out if a linked-list has an end? (i.e. the list is not a cycle)
How do you write a function that can reverse a linked-list?
Write a short code using C++ to print out all odd number from 1 to 100 using a for loop
Tell how to check whether a linked list is circular.
What is the difference between an ARRAY and a LIST?
What do you mean by inheritance?
Why are arrays usually processed with for loop?
Explain which of the following declarations will compile and what will be constant ...
What does extern mean in a function declaration?
How does throwing and catching exceptions differ from using setjmp and longjmp?
What is a modifier in C++?
What is the use of ?using? declaration in C++?
What are proxy objects in C++?
What is a container class? What are the types of container classes in C++?
How do you write a function that can reverse a linked-list in C++?
What is a C++ class?
Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?
What is the auto keyword good for in C++?
What is the difference between a copy constructor and an overloaded assignment operator?
Define namespace in C++?
What is a dangling pointer in C++?
Differentiate between the message and method in C++?
Differentiate between the message and method in C++?
What are the conditions that have to be met for a condition to be an invariant of the class?
What is Boyce Codd Normal form?
Write a Struct Time where integer m, h, s are its members
What is the difference between realloc() and free()?
Describe PRIVATE, PROTECTED and PUBLIC ? the differences and give examples.
What is a COPY CONSTRUCTOR and when is it called?
What do you mean by binding of data and functions?
What are 2 ways of exporting a function from a DLL?
What do you mean by pure virtual functions?
What is the best way to declare and define global variables?
Differentiate between a template class and class template in C++?
What is an Iterator class in C++?
What is a Null object in C++?
How do you find out if a linked-list has an end? (i.e. the list is not a cycle)
How do you traverse a Btree in Backward in-order?
What do you mean by inline function?
What is a template in C++?
Define a constructor - What it is and how it might be called (2 methods).
What is the difference between class and structure in C++?
What is a scope resolution operator?
What is polymorphism in C++? Explain with an example?
What is RTTI in C++?