C++ Interview Questions
Questions Answers Views Company eMail

Define 'std'.

591

What is a class template?

571

Which programming language's unsatisfactory performance led to the discovery of c++?

781

What is object oriented programming (oop)?

604

When should we use multiple inheritance?

600

What is an overflow error?

602

What are the different types of polymorphism in c++?

573

Define token in c++.

698

Explain this pointer?

570

What is the difference between new() and malloc()?

602

What is the difference between reference and pointer?

602

What is the difference between struct and class?

1 720

Which operations are permitted on pointers?

554

What new()is different from malloc()?

556

Can a built-in function be recursive?

572


Un-Answered Questions { C++ }

How do you define social class?

588


What does namespace mean in c++?

538


When can I use a forward declaration?

608


Write down the equivalent pointer expression for referring the same element a[i][j][k][l]?

687


What is destructor oops?

607






What are register variables?

631


Write a program to add three numbers in C++ utilizing classes.

607


What is the use of string in c++?

537


What is the benefit of c++?

581


What do c++ programmers do?

543


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

6470


What does #define mean in c++?

597


What is the purpose of extern storage specifier?

606


What can I safely assume about the initial values of variables which are not explicitly initialized?

604


what type of question are asked in thoughtworks pair programming round ?

1744