C ProgrammingTU Board 2021
What is the use of data file in C? Write a program to accept 100 numbers from user and store them in odd.txt file (if number is odd) or even.txt (If number is even) then display odd numbers reading…
10What is the use of data file in C? Write a program to accept 100 numbers from user and store them in odd.txt file (if number is odd) or even.txt (If number is even) then display odd numbers reading from odd.txt file.
A worked answer is on its wayMeanwhile, read the C Programming notes for this topic.
Discussion
Loading…
More C Programming questions
What type of programming approach is followed by the C program? Write the necessary steps for the Program Development Life Cycle (PDLC).TU Board 20245Is the break keyword mandatory in the switch statement? List the operators used in C based on utility. Explain the concept of a logical operator with an…TU Board 20245What is nested loop? Write the difference between formatted and unformatted I/O operations in C.TU Board 20245What is DMA? List out the memory management function used in the C program. Using DMA, write a program to find the sum of N numbers.TU Board 20245Write a C program to read a string from the keyboard and reverse it without using string handling function.TU Board 20245What is the difference between a binary file and a text file? Write a C program to copy the contents of a student.txt file into another file called info.txt.TU Board 20245