C++ Interview Questions
Questions Answers Views Company eMail

Explain RAII (Resource Acquisition Is Initialization).

3 401

What is the difference between inline functions and macros?

5 497

What is the difference between const and constexpr?

4 507

What are the main characteristics of C++ as a programming language?

1 383

What are the main differences between C and C++?

1 359

What are the strengths of C++?

1 340

What is the difference between a class and a structure in C++?

1 446

What are the three types of access specifiers in C++?

1 335

What is the difference between a constructor and a destructor in C++?

1 394

What is a storage class in C++

1 342

What is the function of the keyword ‘volatile’ in C++?

1 315

What are the weaknesses of C++?

1 316

How is memory managed in C++?

2 405

What are the five types of inheritance in C++?

1 383

What are the different types of variables in C++?

1 392


Un-Answered Questions { C++ }

Can I learn c++ without learning c?

752


What does #define mean in c++?

913


What is encapsulation and abstraction? How are they implemented in C++?

834


What are the components of marker interface?

792


How do you achieve runtime polymorphism?

732


What is pass by value & reference.

777


How are Structure passing and returning implemented by the compiler?

830


What is a COPY CONSTRUCTOR and when is it called?

690


What is class encapsulation?

808


Define macro.

815


what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?

1975


What are the extraction and insertion operators in c++? Explain with examples.

892


What are proxy objects in c++?

865


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?

743


What are the defining traits of an object-oriented language?

919