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 6937What is optimization in c++? when using volatile.optimization is not possible..what does this mean?
1 3289What 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 4754Post New C++ General Questions
What is the use of namespace std in C++?
What is setfill c++?
How do you flush std cout?
What is pure virtual function?
explain the reference variable in c++?
How do you import payscale data from non SAP to SAP?is it through LSMW or any other way is there?
What are the types of pointer?
What is private, public and protected inheritance?
Is c++ low level?
What are default parameters? How are they evaluated in c++ function?
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?
Which sort does c++ use?
Why was c++ created?
What size is allocated to the union variable?
What are the five basic elements of a c++ program?