Jul 30, 2013

LEARNING C PROGRAMMING

History of 'C' Programming Language:
C programming is a popular computer programming language which is widely used for system and application software. C programming language is a structure oriented programming language. C was developed at Bell Laboratories in 1972 by Dennis Ritchie. C programming features were derived from an earlier language called "B"(BCPL language). C language was invented for implementing UNIX operating system. In the year 1978, Dennis Ritchie and Brian Kernighan published the first edition "The C programming language" and commonly known as K&R C. In 1983, the ANSI (American National Standards Institute) established a committee to provide a modern, comprehensive definition of C. The resulting definition, the ANSI Standard, or ANSI-C was completed late 1988. Today's most popular Linux OS and RBDMS MySQL have been written in C.

The 'C' Compiler:
the source code written in the source file is the human-readable source for your program. it needs to be compiled, to run into machine language so that your CPU can actually execute the program as per instructions were given. this C programming language compiler will be used to compile your source code into the final executable program. there are many compilers available on the internet and sold commercially in stores or online.


Top 10 C/C++ Compilers and IDEs:
1.Eclipse 



Features of 'C' Language:
1. Powerful.
2. Low-level features.
3. High-level features.
4. Portability.
5. Bit manipulation.
6. Modular programming.
7. Reliability.
8. Flexibility.
9. Interactivity.
10. Efficiency and effectiveness.


                                             C Programming




Some Example:

Example-1

                         #include <stdio.h>
                     int main ( )
                  {
                     /*my first program in C */
                     printf ("Hello, India!  \n");

                       return 0;
                  }


Output would be-       "Hello India"


A   C program basically consists of the five parts ...
1.Preprocessor Commands:  The first line of the program  #include <stdio.h> is a preprocessor command which tells a C compiler to include stdio.h file before going to actual compilation.

2.Functions:  The next line int main ( ) is the main function where program execution begins.

3. Variables:  The next line /*........*/ will be ignored by the compiler and it has been put to add additional comments in the program. So such lines are called comments in the program.

4. Statements and Expressions:  The next line printf(.......) is another function available in C which causes the message "Hello, India!" to be displayed on the screen.

5. Comments:  You will be able to see "Hello India" printed on the screen.

14 comments:



Amazing article ever came across...it contains a very good information for every one...visting this site was really worth...very muvh impressed...
apart from this there are people who have keen interest in real estate..for such people their is an interesting real estate website that have highly
informative articles like...best place to live in mumbai

This comment has been removed by the author.

Well Post if you looking for How to Get Rid of Trovi, Delete Trovi Virus or uninstall Trovi completely visit now How to Remove Trovi, How to Get Rid of Trovi from Firefox, Chrome, Computer, Windows, Mac

very nice blog post if you are looking for uninstall ask toolbar, remove ask toolbar delete ask toolbar or get rid of ask toolbar from Firefox, chrome or internet explorer then come to the website How to Get Rid of Ask Toolbar, Remove Ask Toolbar from Firefox, Google Chrome, Internet Explorer, Mac, Windows, Computer

Impact i Training London offering professional IT Training London by highly skilled teachers in UK for best IT Training London please Call 02086178466.

please check out my Website and suggest me what should i change in it
www.newpakjobs.com

yup....
www.newpakjobs.com

Over millions of business owners getting comfortable benefits through the software known as Intuit QuickBooks. As you are dealing with any business type. You can see our number for your suggestion and get the immediate help through it 1-888- 867-9209. The experts are available on QuickBooks USA, Canada Support services. Intuit QuickBooks Contact Toll Free Number

Thanks for posting your valuable thoughts with us & our readers. Please keep continue writing on this blog.
Bulk SMS Service Provider

Post a Comment

Share

Twitter Facebook Digg Stumbleupon Favorites More