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

What are the differences between public, private, and protected access?

IBM, Oracle, Wipro,

12 78042

What is the difference between a copy constructor and an overloaded assignment operator?

Belzabar, Citrix, Microsoft, Wipro,

4 24940

How do you link a C++ program to C functions?

4 17425

Can inline functions have a recursion? Give the reason?

3 9317

How Virtual functions call up is maintained?

2 10463

What is problem with Runtime type identification?

2 9488

What about Virtual Destructor?

Virtusa,

1 7111

What are advantages of C++ when comparing with C?

HP, iGate, TCS,

18 32195

What is the difference between static global and global ?

CA,

2 8137

structure contains int, char, float how it behaves for big endian and little endian?

BITS,

1 5339

When copy constructor can be used?

Symphony,

4 12462

What is the use of static functions?

Symphony,

10 33101

How const functions will be treated by compiler?

Symphony,

3 7056

When volatile can be used?

Symphony,

3 8270

How to stop conversions among objects?

Symphony,

5 10545


Un-Answered Questions { C++ }

What are containers in c++?

992


Why c++ is not a pure oop language?

1051


Explain the use of vtable.

1088


What is the best ide for c++?

1094


Whats oop mean?

1050


What Is Polymorphism in C++ ?

1836


What do you mean by translation unit in c++?

1368


Objective The objective of this problem is to test the understanding of Object-Oriented Programming (OOP) concepts, in particular, on encapsulation. Problem Description Create a program for managing customer’s bank accounts. A bank customer can do the following operations: 1. Create a new bank account with an initial balance. 2. Deposit money into his/her account. 3. Withdraw money from his/her account. For this operation, you need to output “Transaction successful” if the intended amount of money can be withdrawn, otherwise output “Transaction unsuccessful” and no money will be withdrawn from his/her account. Input The input contains several operations and is terminated by “0”. The operations will be “Create name amount”, “Deposit name amount”, or “Withdraw name amount”, where name is the customer’s name and amount is an integer indicating the amount of money. There will be at most 100 bank accounts and they are all created on the first month when the bank is opening. You may assume that all account holders have unique names and the names consist of only a single word. Output The output contains the transaction result of withdrawal operations and the final balance of all customers after some withdrawal and deposit operations (same order as the input). Sample Input Create Billy 2500 Create Charlie 1000 Create John 100 Withdraw Charlie 500 Deposit John 899 Withdraw Charlie 1000 0

2241


Why isn't sizeof for a struct equal to the sum of sizeof of each member?

998


What is a storage class used in c++?

1083


What is boyce codd normal form in c++?

1160


What are disadvantages of pointers?

1040


Must accepts "Maestro Cards" Tax for bike should be less than 15 Total number of lanes is more than 10 Must provides monthly pass Write a method: boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes); String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”) boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not int numberOfLanes This parameter defines the number of lanes for each side

3466


Differentiate between an external iterator and an internal iterator? What is the advantage of an external iterator.

1044


What are put and get pointers?

1132