write a C code To reverse a linked list
Answer Posted / haymo
sir u can reverse a linklist
Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
What is anagram in c?
What does != Mean in c?
What is the use of void pointer and null pointer in c language?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is the difference between new and malloc functions?
How do you determine whether to use a stream function or a low-level function?
What are the advantages and disadvantages of c language?
Why should I use standard library functions instead of writing my own?
What are the 4 data types?
What does c mean in standard form?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
write an interactive C program that will encode or decode a line of text.To encode a line of text,proceed as follows. 1.convert each character,including blank spaces,to its ASCII equivalent. 2.Generate a positive random integer.add this integer to the ASCII equivalent of each character.The same random integer will be used for the entire line of text. 3.Suppose that N1 represents the lowest permissible value in the ASCII code,and N2 represents the highest permissible value.If the number obtained in step 2 above(i.e.,the original ASCII equivalent plus the random integer)exceeds N2,then subtract the largest possible multiple of N2 from this number,and add the remainder to N1.Hence the encoded number will always fall between N1 and N2,and will therefore always represent some ASCII character. 4.Dislay the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text.Be certain,however,that the same random number is used in decodingas was used in encoding.
What is the most efficient way to store flag values?
Differentiate between functions getch() and getche().