Compilation and Execution of a C program , character constants. ( module 5)
In this module we will discuss on the compilation process and execution process of a C program by its structure. And character constants.
This is the 5th module on learning C with us. Earlier we discussed on the basic introduction and structure of C, preprocessor it's features, intermediate and executable codes. In this section we will briefly discuss on the compilation process and execution process of a C program.
Compilation and execution of a c program: -
Executing a C program involves a number of steps :
- Creating the program.
- Compiling the program.
- Linking the program with functions that are needed from the library.
- Executing the program.
￼ The compilation process and execution process can be understood as :- ￼
Unsigned constants are written with a terminal 'u' or 'U' and suffix 'ul' and 'UL' indicates unsigned long. For example 123456789u.
Character constants :-
A character constant written as one character with in single quotes such as 'a'. The value of a character constant is the numerical value of the character in the machine character set.
Certain character constants can be represented by escape sequence like '\n'. These sequences look like two characters but represent only one.
Examples of escape sequences :-
For next modules on C language please be updated with us only on Www.newsandstory.com
Total 2287 views