|
Related Questions |
View Answer |
 |
How to break cycle in circular single link list?
|
View Answer |
 |
How to improve my c knowledge........
|
View Answer |
 |
How do you write a program which produces its own source code as its output?
|
View Answer |
 |
How to write a C program to find the power of 2 in a normal way and in single step?
|
View Answer |
 |
I want C program code for : Reverse the links of a linked list by traversing only once
Input: The input consists of the information in each node of the linked list.
Output: The program displays the information in the linked list after the links are reversed.
Sample Input: Enter the information in the linked list (Enter -1 to exit): 10 20 30 40 50 -1
Sample Output: After the links are reversed Information in the linked list: 50 40 30 20 10
|
View Answer |
 |
Write a program which accepts a filename as a command line argument and coverts all characters in the file to uppercase.
|
View Answer |
 |
Write a program which accepts a filename as a command line argument and reverses the contents of the file( ie first character
becomes the last character of the file and so on)
Input: The program takes the file name whose content should be reversed.
Output: The program reverses the contents of the file.
|
View Answer |
 |
How to type a string without using printf function?
|
View Answer |
 |
Whats is structure padding?Say a given structure Struct{ int a; char c; float d; } the size of structure is 7 here. But structure padding is done what will be the size of the struct?Will it change and how?How to avoid this?is it necessary?
|
View Answer |
 |
When is a switch statement better than multiple if statements? |
View Answer |