raju39k
Newbie level 4
Hai
I am giving input to C program from a file and redirecting output to a file.
The input given from input file is not displayed in output file
I am using the following command
The following output is stored in output file
The input file consist the following data
6
25 36 14 74 85 96
Please help to store the output as
Thanks in Advance
@Raju39k
I am giving input to C program from a file and redirecting output to a file.
The input given from input file is not displayed in output file
I am using the following command
Code:
./AIQ1 < input.txt > output.txt
The following output is stored in output file
Code:
How many elements you want to insert:
Enter the element:
Enter the element:
Enter the element:
Enter the element:
Enter the element:
Enter the element:
Items in LinkedList:
96 85 74 14 36 25
The input file consist the following data
6
25 36 14 74 85 96
Please help to store the output as
Code:
How many elements you want to insert:6
Enter the element:96
Enter the element:85
Enter the element:74
Enter the element:14
Enter the element:36
Enter the element:25
Items in LinkedList:
96 85 74 14 36 25
Thanks in Advance
@Raju39k