Skip to main content

Posts

Showing posts with the label notes

Basic C Language Notes

  First C Program Before starting the abcd of C language, you need to learn how to write, compile and run the first c program. To write the first c program, open the C console and write the following code: 1.       #include <stdio.h>      2.      int  main() {    { 3.      printf( "Hello C Language" );     4.      return  0;    5.      }   #include <stdio.h>  includes the  standard input output  library functions. The printf() function is defined in stdio.h . int main()  The  main() function is the entry point of every program  in c language. Compilation process in c What is a compilation? The compilation is a process of converting the source code into object code. It is done with the help of the compiler. The compiler che...