C++ General Interview Questions
Questions Answers Views Company eMail

What is abstraction c++?

579

Is eclipse good for c++?

533

What is the extension of c++?

506

What is a .h file c++?

526

What is a lambda function c++?

547

What is lambda expression c++?

568

What is lambda in c++?

568

What is the arrow operator in c++?

552

What is the use of lambda in c++?

565

What are the data types in c++?

511

What is using namespace std in cpp?

539

What are libraries in c++?

599

What is a .lib file in c++?

558

What is lazy initialization in c++?

645

How is c++ different from java?

555


Post New C++ General Questions

Un-Answered Questions { C++ General }

What is the difference between strcpy() and strncpy()?

602


What is a binary file? List the merits and demerits of the binary file usagein C++.

720


Will the following program execute?

551


Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?

1574


Can a constructor be private?

573






What is the purpose of the "delete" operator?

616


Explain what are the sizes and ranges of the basic c++ data types?

631


What is a buffer c++?

575


What does ctime() do?

609


Write about the role of c++ in the tradeoff of safety vs. Usability?

583


Differentiate between a pointer and a reference with respect to c++.

692


What is class and structure in c++?

548


Difference between struct and class in terms of access modifier.

688


Describe delete operator?

614


How do we implement inheritance in c++?

575