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 v-ptr?

1222

Do class declarations end with a semicolon? Do class method definitions?

1204

Can member data be public?

1089

What is the difference between the indirection operator and the address of oper-ator?

1174

What are the differences between the function prototype and the function defi-nition?

1159

If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

1158

How do you show the declaration of a virtual constructor?

1009

What is a catch statement?

1117

Name four predefined macros.

1109

If you don’t declare a return value, what type of return value is assumed?

1012

What is the difference between a reference and a pointer?

1191

What is a down cast?

1177

What is the difference between public and private data members?

1237

When must you use a pointer rather than a reference?

1082

What is the function to call to turn an ascii string into a long?

1123


Un-Answered Questions { C++ }

Is it possible for a member function to delete the pointer, named this?

1250


write a corrected statement so that the instruction will work properly. if (4 < x < 11) y = 2 * x;

2060


Why interface is used?

1076


How does free know the size of memory to be deleted

928


How do you find out if a linked-list has an end?

1191


What is c++ w3school?

1161


Keyword mean in declaration?

1123


What is the prototype of printf function?

1241


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

1126


Write a syntax and purpose of switch statement.

1085


What is pointer in c++ with example?

1140


What is #include cmath?

1146


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<<"["<

2480


If you don’t declare a return value, what type of return value is assumed?

1012


daily Routine of father

1465