STL (140)
OOPS (873)
C++ General (2409) Distinguish between: a) Normal layout & Print Layout views b) Windows Clipboard & office Clipboard c) Save & Save As Commands d) Program File & Data File e) Pie Charts & Barr Charts
2286Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
BNB, FDS, Goldman Sachs, Nagarro,
16 27898this is to swap to strings....but in output the whole
strings are swapped leaving first as it is...why it is so
#include
Why many objects can working together? How objects working togetherM I want to see example code.
2 5122suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
3 9702
What are friend classes?
Can we delete this pointer in c++?
What are c++ storage classes?
Explain the extern storage classes in c++.
What type of question are asked in GE code writing test based on c++ data structures and pointers?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
Write about the scope resolution operator?
What is else syntax in c++?
How is c++ used in the real world?
What are the basics of local (auto) objects?
What are c++ manipulators?
What is a catch statement?
Why would you use pointers in c++?
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 What does new return if there is insufficient memory to make your new object?