Execution of c programing

Share:
the following steps are followed to execute a c programing using TURBO C compiler



      • creating the program

      • compiling the program

      • linking and running the c programing




creating the c programing:double click TURBO C icon present in the windows desktop and open the TURBO C editor. and save file format as shown below

FILENAME.C


example:

#include
void main()
{
--------------
--------------
}
save as filename.cCompiling the source program:compiling is process of converting the source program into machine language program.it will create the object file syntax:filename.obj

linking and runing the object program:linking is defined as a process of connecting other programs and function that needed by our c program.In TURBO C linking is carried out automatically
Example:filename.exe

Variable and constant


Character set:C uses the following characters in order to develop its language.they are

  • alphabets-a......z,A......z

  • Digits-0,,2,3,4,5,6,7,8,9

  • Special Characters-! # % ^ & + = ~ []

  • white spaces-blank space,horizontal tab,carriage return,new line,form feed


No comments