If you construct a long program today and try to recall it after a few days, there is every possibility that you
would have forgotten quite a few things and even what the program does or what a particular name stands
for. Comments if included in a program help in recollection of different names, data values and other
parameters.
Escape Sequences in C
Escape sequences are basically control characters used for formatting the output. These are combinations of
a backslash and a character in lowercase. We have already used "\n", which shifts the curser to the next
line. Table lists the escape sequences defined in C language.
Features of C
(i) It is a structured high-level language and is highly portable to different platforms.
(ii) C is closest to assembly language and hence it is extremely efficient. Some programmers call it "highlevel assembly language", although it is not a justified comment.
The standard C library provides several functions and macros for character 1/0.
Here we consider the getchar and putchar macros. As these macros read or write
a single character, they are typically used in a loop to read/write a sequence of
characters.
The C standard library provides the executable code and declarations for
functionality provided in it. The executable code for the library is provided in
separate files, usually in the lib directory, in the installation directory of the
compiler. The library files in TurboC/C++ are named *.LIB, whereas those in the
MinGW compiler provided with Dev-C++ and Code :: Blocks are named lib*. a.