create an SINGLE LINKED LISTS and reverse the data in the
lists completely
Answer Posted / praveen
Push all the elements into a stack (one by one) and then
create a new list by popping of the elements from the stack
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you print only part of a string?
What are the parts of c program?
What is the value of c?
Explain what are compound statements?
Is main is user defined function?
What does & mean in scanf?
What is the difference between text and binary i/o?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What is the difference between array and pointer?
Explain what standard functions are available to manipulate strings?
Write a code to generate a series where the next element is the sum of last k terms.
Explain low-order bytes.
How would you obtain the current time and difference between two times?
How many types of errors are there in c language? Explain
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }