C++ General Interview Questions
Questions Answers Views Company eMail

given unsigned int ui1=3,ui2=7; what are the outputs of a)ui1 & ui2 b)ui1 && ui2 c)ui1 | ui2 d)ui1 || ui2 i also need the justification for the answers thank you

2 4089

simple c++ program for "abcde123ba" convert "ab321edcba" with out using string

5 9815

What are different types of polymorphism supported by C++

CA, GameLoft,

2 8395

What are different types of typecasting supported by C++

CA,

1 5563

What is size of empty class object

CA,

5 7440

What is size of a object of following class? class Foo { public: void foo(){} }

CA,

2 4300

What is OOPs

CA,

12 10267

Types of storage and scope of each type

CA,

2 3720

What is scope of a variable? (LOLZ)

CA, TCS,

2 6798

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

NIIT,

6 7261

sizeof - is it a function or operator?

Honeywell,

6 9186

sizeof- is it functioning statically or dynamically?

2 3720

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 4691

program to print this triangle * * * * * *

Infosys,

12 21281

What is static function and static class?

HCL,

4 8420


Post New C++ General Questions

Un-Answered Questions { C++ General }

Explain the use of this pointer?

634


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

547


By using c++ with an example describe linked list?

602


Which one between if-else and switch is more efficient?

602


which operator is used for performing an exponential operation a) > b) ^ c) none

602






What is the difference between a pointer and a link in c ++?

564


What sorting algorithm does c++ use?

596


What is c++ library?

596


Explain terminate() function?

592


What is scope operator in c++?

565


What is the type of 'this' pointer? When does it get created?

544


Is multimap sorted c++?

557


What is a constructor and how is it called?

593


What is java and c++?

659


How do you initialize a string in c++?

558