In this tutorial, we learn about how to create the file and run using CodeBlocks. first, need to download and install the CodeBlocks and run the CodeBlocks.

There are some steps to create a file and run Hello world :
  1. Open the CodeBlocks
  2. Click on File Menu Bar.
  3. select the New and Empty file.
  4. save the file with the extension of the ".c" file.
  5. and then write a code :
                                               #include<conio.h>
                                               #include<stdio.h>
                                               void main()
                                               {
                                                    printf("Hello world");
                                                    getch()
                                                }
       6. save this file.
       7. Click on Build and run.  
       8. Output  Hello world.


Watch the Video Lecture




            Previous                                                                                                                       Next