.. www.engineerscur.blogspot.com: Why C language ?

Why C language ?

Why C language ?


          This question comes across many minds when they starts learning C language.Once friend of mine asked me a stupid question that "Why we are printing sums,our names,some stupid patterns and so on ?" when we started learning C language back in 2010.I found my answer in 2012 when I again started learning in my college.So my prof. Shwetal  Pandya explained us in first lecture.

           So, yes you can do sums in calculator available in your computer,you can also write your name in fancy style.But you will be doing it with software available in your computer.

             Here is the main thing, that you can't access your computers hardware directly.You are doing it with some software so you are not utilizing hardware directly.Now with the C language you can do that.

            I would like to tell you few more things that all modern Operating system you are using like Windows,Mac-OS,Linux all were once written in C language and languages like java,Perl,Python,PHP all are written in C language.

            So basically C language provides the platform to access Memory and all other hardware that your computer have.Giving few examples,When you are printing some thing on your screen you are accessing your computers screen with C language and built in libraries with out any other software except compiler from which you are doing that. 

             When you write some peace of code and execute it you are accessing one or more hardware that is available in you computer.Like in file operation program you are saving some data after some operation in your C program in Notepad or Excel.You are accessing memory whether it is primary or secondary memory.

             C language provides you portability to any controller or processor.Let's see how --> Many of you have done assembly language programming in one or other controller like 8085,8051 etc.And you know that assembly language mnemonics vary from controller to controller or microprocessor.That is what I am talking about that you need to learn mnemonics with different microprocessors.

             Now if you are doing same thing but you are doing programming with C language then no matter which microprocessor you are using the program would be the same(Only library for that particular microprocessor will be the change.).It is the portability of C programming  language.  

              So,next time while writing programs in C language keep in mind the magical powers of C language.

               . © Copyright Dharmesh Vasoya www.engineerscur.com