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 is the difference between "overloading" and "overridding"?

3 7194

Explain the need for "Virtual Destructor"?

Infosys,

2 8284

Can we have "Virtual Constructors"?

TCS,

10 27659

What are the different types of polymorphism?

3 9726

What are Virtual Functions? How to implement virtual functions in "C" ?

3 15993

What are the different types of Storage classes?

5 17953

What is Namespace?

HCL, Samsung,

5 10753

What are the types of STL containers?

4 12741

What is the Difference between "vector" and "array"?

Covansys, Gambit, TCS, Wipro,

15 62467

How to write a program such that it will delete itself after exectution?

3 10574

Can we generate a C++ source code from the binary file?

2 7670

What are inline functions?

Fidelity, Verizon,

3 9041

What is "strstream" ?

Huawei,

1 6583

Explain "passing by value", "passing by pointer" and "passing by reference" ?

5 12654

What is "mutable" keyword?

Infosys, Teradata,

2 18318


Un-Answered Questions { C++ }

What is c++ similar to?

1186


What are c++ stream classes?

1048


Explain the difference between method overriding and method overloading in C++?

1052


What are the two types of polymorphism?

1143


Which is the best c++ compiler for beginners?

1099


how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<

2423


What are stacks?

1066


Why do we use constructor?

1060


What does it mean to declare a destructor as static?

1085


How stl is different from the c++ standard library?

1228


Why can templates only be implemented in the header file?

1109


What is auto type c++?

1127


What is destructor give example?

1051


What is dynamic and static typing?

1190


What is a class definition?

1076