Can we remove an element in a single linked list without traversing? Lets suppose the link list is like this 1 2 3 4 5 6 We need to remove 4 from this list (without traversing from beginning) and the final link list shud be 1 2 3 5 6 only thing we know is the pointer to element "4". How can we remove "4" and link "3" to "5"?
CSC,
6 9043What is optimization in c++? when using volatile.optimization is not possible..what does this mean?
1 4140What is the difference in size of this two clasees? Class A { int a; char c; float f; } Class B { float f; char c; int a; }
4 6176Post New C++ General Questions
What is a linked list in c++?
Define upcasting.
Can you Mention some Application of C/C++?
What are stacks?
Explain the concept of memory leak?
What is rtti in c++?
Can static member variables be private?
Is c++ the most powerful language?
What is the disadvantage of using a macro?
What are c++ storage classes?
How can a called function determine the number of arguments that have been passed to it?
Can we declare a base-class destructor as virtual?
What is std :: endl?
Is C++ case sensitive a) False b) Depends on implementation c) True
Name four predefined macros.