Memory 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.
Answer Posted / dg
ahutosh ,the kid is right pos% 10 will do fine,,are u
nuts,work on basic maths
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is a catch statement?
Define a nested class. Explain how it can be useful.
What are the two main components of c++?
what is C++ objects?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
Write syntax to define friend functions in C++.
What is boyce codd normal form in c++?
How the endl and setw manipulator works?
What are smart pointers?
What is difference between c++ 11 and c++ 14?
Can we declare a base-class destructor as virtual?
What are the implicit member functions of class?
How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?
How do you save a c++ program?
What is operators in c++?