Write a C program, char.c, which prints the numerical value of the special character constants given below.
Question:
Write a C program, char.c, which prints the numerical value of the special character constants given below. Don\'t just look up the codes and print them directly from your program. You should have your program output the values the character constants by using them as string literals within your printf() statements.
Your output should be presented in a neat, orderly, tabular format as shown below
Char Constant Description : Value
newline
\\\\t horizontal tab
\\\\v vertical tab
\\\\b backspace
carriage return
\\\\f form feed
\\\\\\\\ backslash
\\\\\\\\ single quote (apostrophe)
\\\\ double quote
\\\\0\' null
Use the following guidelines to develop your program:
Declare your variables with appropriate data types.
Assign values to your variables
Perform your calculations.
Generate appropriate output
Points to Remember:
Make sure you are creating a C program and not a C++ program. The .c suffix to your source code will invoke the C compiler while the .cpp suffix will invoke the C++ compiler. As this is a class in C and not C++, please make sure your source code uses the .c suffix.
You should not be using any global variables in your program. A global variable v declared outside of main().
Output from your program should be sent to the terminal window (your screen) as the requested csis.txt output file. Be sure to read the document on in Program Output. Your full name must appear as a comment in the e file that contains main(). Be sure to include the csis.txt output file in your zip archive.