You should write a C program to implement the text handling task. After your C code is running, it should firstly ask the name of the text file being input from the keyboard manually. Then, it should open and read this text file. Finally, your C code should be able to analyse the text and output a meaningful answer to the screen and also to a file for submission with your C program.
Appendix 1 shows an example of the text file, which contains the following features:
At first, you should create a head file (***.h) to include C keywords and 4 punctuation marks given above, which will be then included in your C program. Your C program should read and analyse the text file, and then produce a correct output with the following format:
The following text is for you to type into a text file, namely "assignment1.txt".
C allows the programmer to write directly to memory unlike most of other programming languages. Key constructs in C such as pointers and arrays are designed to structure and manipulate memory in a machine-independent fashion. Thirty-two Keywords in C are also called as reserved words such as char int float goto and void. C gives control over the memory layout of data structures! C is a strongly typed language. This means that the variable type cannot be changed once it is declared. Here, the type of number variable is int. You cannot assign a floating-point (decimal) value 5.5 to this variable. Also, you cannot redefine the data type of the variable to double. By the way, to store the decimal values in C, you need to declare its type to either double or float. C provides a uniform interface when dealing with low-level code such as the part of the OS that controls a device. Do these capabilities exist in most other languages? Answer is no.