writing the first program to write programwe first need to write the code for thatopen text editor if you are windows useryou may use notepad and if you prefer working on unix/linuxyou can use emac or vi once the text editor is opened on your screentype the following statements#include int main(printf("\ welcome to the world of ");/prints the message on the screen return ;/returns value to the operating system after writing the codeselect the directory of your choice and save the file as first #include this is the first statement in our code that includes file called stdio this file has some in-built functions by simply including this file in our codewe can use these functions directly stdio basically stands for standard input/outputwhich means it has functions for input and output of data like reading values from the keyboard and printing the results on the screen every program contains main(function which is the starting point of the program int is the return value of the main function after all the statements in the program have been executedthe last statement of the program will return an integer value to the operating system the concepts will be clear to us when we read this in toto so even if you do not understand certain thingsdo not worry int main(table the two curly brackets are used to group all the related statements of the main function escape sequence purpose \ audible signal \ backspace \ tab \ new line \ vertical tab \ new page\clear screen \ carriage return note the printf function is defined in the stdio file and is used to print text on the screen the message that has to be displayed on the screen is enclosed within double quotes and put inside brackets printf("\ welcome to the world of ")escape sequences \ is an escape sequence and represents newline character it is used to print the message on new line on the screen other escape sequences supported by language are shown in table this is return command that is used to return value to the operating system to give an indication that there were no errors during the execution of the program return every statement in the main function ends with semi-colon (;if you are windows userthen open the command prompt by clicking startaerun and typing "commandand clicking ok using the command promptchange to the directory in which you saved your file and then typefirst :\>tc first in case you are working on unix/linux operating systemthen exit the text editor and type $cc first -ofirst the - is for the output file name if you leave out the -othen the file name out is used