C++ Interview Questions
Questions Answers Views Company eMail

What is scope of a variable? (LOLZ)

CA, TCS,

2 6770

what is single inheritance?

IBM,

18 28355

What is differance between Abstract and Interface

3 5001

what is SPL in c++.

1 5969

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

2 4652

what is the difference between a package and a software?

3 5003

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

NIIT,

6 7222

sizeof - is it a function or operator?

Honeywell,

6 9125

sizeof- is it functioning statically or dynamically?

2 3702

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 4661

program to print this triangle * * * * * *

Infosys,

12 21157

how to tackle technical questions

1 2917

What is static function and static class?

HCL,

4 8385

What is deep and shalow copy?

L&T, TCS,

3 12528

what is the use of templates?

3 4676


Un-Answered Questions { C++ }

Is it possible to use a new for the reallocation of pointers ?

581


What is the difference between global variables and local variable

520


What is the difference between containment and delegation?

693


Why multiple inheritance is not possible?

586


Who created c++?

562






What is the use of volatile variable?

586


What is endianness?

610


What is a syntax in c++?

597


Define friend function.

556


What do you mean by friend class & friend function in c++?

609


Define vptr.

582


What is a down cast?

594


What is the full form of ios?

543


What is iterator in c++?

600


What is c++ array?

539