C++ Interview Questions
Questions Answers Views Company eMail

What is scope of a variable? (LOLZ)

CA, TCS,

2 6790

what is single inheritance?

IBM,

18 28461

What is differance between Abstract and Interface

3 5017

what is SPL in c++.

1 5976

How can we use the preprocessor #if and #elseif.

2 4670

what is the difference between a package and a software?

3 5022

can anybody please tell me how to write a program in c++,without using semicolon(;)

NIIT,

6 7249

sizeof - is it a function or operator?

Honeywell,

6 9154

sizeof- is it functioning statically or dynamically?

2 3718

If we declare two macro with the same identifier without doing undef the first, what will be the result? eg: #define MAX_SIZE 100 #define MAX_SIZE 200 int table1[MAX_SIZE];

3 4684

program to print this triangle * * * * * *

Infosys,

12 21234

how to tackle technical questions

1 2928

What is static function and static class?

HCL,

4 8405

What is deep and shalow copy?

L&T, TCS,

3 12555

what is the use of templates?

3 4694


Un-Answered Questions { C++ }

What are the types of container classes?

608


What are the different types of comments allowed in c++?

571


Explain the use of vtable.

611


How can we access protected and private members of a class?

586


What is searching? Explain linear and binary search.

579






What does obj stand for?

623


Can non graphic characters be used and processed in C++?

699


What does ios :: app do in c++?

549


What is a constructor in c++ with example?

574


When not to use object oriented programming?

565


How the endl and setw manipulator works?

554


Is c++ the hardest language?

555


What are the storage qualifiers?

659


Will rust take over c++?

585


why and when we can declar member fuction as a private in the class?

1594