Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



C++ Interview Questions
Questions Answers Views Company eMail

INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

2260

write a c++ program to create class student having datamember name,Roll_no,age,and branch intilcization all the member using constructor print the all the details on the screen.

2751

In java a final class is a class that cannot be derived. How can you make a similar class in C++

1 4307

if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int1 < int2 && int2 < int 3

3 8271

who is the father of OPPS

Infosys, TCS,

4 10636

create a class complex having real and imaginary part of a complex no. as a data member. overload the binary operators(+,- and *) to perform the operations on complex no. objects. overload binary operator using friend function.

CTS, Delhi University,

2 5872

what is cast operator?

Microsoft,

2 6033

when to use 'mutable' keyword and when to use 'const cast' in c++

TCS,

2224

why reinterpret cast is considered dangerous?

TCS,

2455

What are callback functions in c++

SoftTech,

1 4445

write a program to add two numbers without using an arithmetic operator.

NIIT,

1 4848

How to reverse a sentence in c program ex: ram is a good boy answer: boy good a is ram

IBM,

3371

write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

2481

what is namespace? what are the uses of namespace?

1 4192

what is opps?why it is use in programming language?

Wipro,

2 6261


Un-Answered Questions { C++ }

Q1. A. What is unary operator? List out the different operators involved in the unary operator. B. What is an adjust field format flag? Q2. A. Distinguish between a # include and #define. B. Can a list of string be stored within a two dimensional array? Q3. A.Explain how a pointer to function can be declared in C++? B.List the merits and demerits of declaring a nested class in C++? Q4. A. What are the syntactic rules to be avoid ambiguity in multiple inheritence? B. Explain the operation of overloading of an assignment operator. Q5. A. Explain how the virtual base class is different from the conventional base classes of the opps. B. Explain how an exception handler is defined and invoked in a Program. Q6. A. What is a binary file? List the merits and demerits of the binary file usagein C++. B. Write short notes on Text Manipulation Routines. C. Write bites in Turbo c++ Header (“Include”) Files.

2854


What are the advantages of prototyping?

1136


Is c++ built on c?

1081


What is do..while loops structure?

1215


Write about the members that a derived class can add?

1029


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

1027


What does catch(…) mean?

1175


What are the 2 main types of data structures?

1173


Does c++ have a hash table?

1051


What are the three parts of a simple empty class?

2102


What is encapsulation selenium?

1080


What is encapsulation with real life example?

1096


Why do we use encapsulation in oops?

1094


Is java made in c++?

1123


What is purpose of inheritance?

1173