Implement a function that returns the 5th element from the
end in a singly linked list of integers in one pass.
Answer Posted / lly
I think both #1 & #2 are wrong. Because the code travels
the list in two passes not one pass.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
write a program to print largest number of each row of a 2D array
In a switch statement, what will happen if a break statement is omitted?
When should the volatile modifier be used?
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
Differentiate between a structure and a union.
What are the complete rules for header file searching?
What does volatile do?
What is the general form of #line preprocessor?
Why do we need a structure?
How will you delete a node in DLL?
What is the code in while loop that returns the output of given code?
int i=10; printf("%d %d %d", i, i=20, i);
Create a simple code fragment that will swap the values of two variables num1 and num2.