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 8776What is optimization in c++? when using volatile.optimization is not possible..what does this mean?
1 4068What 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 6039Post New C++ General Questions
Why do we need c++?
Write a program to interchange 2 variables without using the third one.
what is data abstraction in C++?
Can I have a reference as a data member of a class? If yes, then how do I initialise it?
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Differentiate between a pointer and a reference with respect to c++.
How do you establish an is-a relationship?
What is the difference between cin.read() and cin.getline()?
Write a C++ Program to check whether a number is prime number or not?
What do you mean by translation unit?
What is the extraction operator and what does it do?
What is the use of 'this' pointer?
Explain the difference between class and struct in c++?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
How to get the current position of the file pointer?