Why Learn C? and Basic Program in C:


Why Learn C?

Why Learn C?


Today Generation there is a lot of programming languages in the World. Some are C++, Java, Ada, BASIC, COBOL, Perl, Pascal, Smalltalk, FORTRAN, etc. Even these many languages available in the world, there are several reasons why we should go for “C”. In these, some are stared as follows.


  • C is a Core Language:
                  In computing, C is a general-purpose, cross-platform, block-structured, procedural, imperative computer programming language. A number of programming languages are developed by the C. If you learned the C, it will help you to understand the remaining languages easily which was largely developed from the C. Such languages include C++, Java, and Perl. I cannot say only these languages are developed, there will be some more languages.


  •  C is a small Language:
            C has only 32 keyword, Which helps you to remember easily, around 20 of them are in common use. This is one of the best advantages to learn easily compared to bulkier language.


  • C is Portable:
   C programs written on one system and those same programs can be run in any of the other systems without any change. Even if you have any change in Program, there will be a small change in the header file accompanying the main program. The use of compiler directives to the preprocessor makes it possible to produce a single version of a program that can be compiled on several different systems. So, we can say C is to be very Portable. The Function libraries are standard for all versions in C  so they can be used in all systems.


  • C is quick:
     In C we can write codes, which runs quickly, and the program can be very close to the hardware, This implies that you can access low-facilities in your computer quite easily, without compiler and run-time system stopping you from doing something potentially dangerous.



Basic C program:

      #include <stdio.h>
      int main()
      {
          printf("Hello, This is BeginnerTimes”);
          return 0;
      }

Post a Comment

0 Comments