Get free Expert Advice on Ad sense, Seo optimization, Seo tools, blog marketing, blog content, Free online jobs and affiliate business at www.engineering360.blogspot.com
A programming language is designed to help in processing of certain data and to provide useful information to the user. There are lots of programming languages today that satisfy different needs of the user. For example: C, C++, Java, SQL, HTML, JavaScript etc. It helps to write a sequence of instructions that the computer can understand.
Actually, computer understands only machine level instructions i.e. 1 and 0. But it is really impossible to write a program using these binary digits. So, high level languages came into existence where the programmer can write the instructions using English like statements. And the Compiler takes the responsibility to convert a high level program into machine level instructions.
C language came into existence in 1972 as a high level language. It was developed by Dennis Ritchie at Bell Laboratories. It is one of the most popular programming languages today. C can run under a number of operating systems including MS-DOS. It is well suited for structured programming.
It is a robust language with number of functions and operators to handle any complex program. Both system software and business packages can be developed using it. C is highly portable i.e. C program written for one computer can be run on another without modification.
Basic structure of C programs:
A C program may consist of one or more following sections:
1) Documentation section – It gives the name of the program, the author and any other details about the program.
2) Link section – It provides instruction to the compiler to link functions from the system library.
3) Global declaration section – Global variables are declared in this section.
4) Main() function section – Every C program must have one main() function. The program execution begins at the opening brace and ends at the closing brace of main function section.
5) Subprogram section – It contains all the user-defined functions that are called in the main function.
Defining various components of C:
Keywords – they have fixed meanings and these meanings cannot be changed. Ex: auto, break, case, int, long
Identifiers – these are user defined names consists of a sequence of letters and digits. Name of variables, functions and array are its example.
Constants – It is the fixed value that does not change during the execution of a program. It can be integers, real numbers, characters, strings
Variable – it is a data name that is used to store a data value. It may take different values at different times during execution.
Data types – It represents which type of data being used in a program.
Operator – it is a symbol that tells the system to perform mathematical or logical calculations.
Expression – it is a combination of variables, constants and operators arranged as per syntax of language.
Printf() – it is a library function used for printing results.
Scanf() – it is also a library function that is used to read input data from the user.
stdio.h - standard input-output header file must be included at the beginning of a program.
Main() – It is a user-defined function which tells the computer where the program starts.
Function – It is a self-contained block of code that performs a particular task.
- Related Videos
- Related Articles
- Ask / Related Q&A
- Basics of C programming Language
- Web Programming Basics
- A Basic Primer to Programming Flash Games
- niche affiliate programs and affiliate referral programs
- A Basic Primer to programming
- A Basic Primer to programming micro Flash Games…
- Visual Basic Programming Language and Its Significant Features
- How To Learn Basic Spanish Online




Why Give Importance to Website Maintenance
By: royvan | 03/12/2009Website maintenance is very important to make your business to survive online.
PHP Development: Turn Your Website into Multi-Featured Web Application
By: kethy Wright | 03/12/2009The PHP Development Services offered using these technologies have helped different business houses achieve their goals within a short span of time. Having an excellent and multi featured website for your business firm can help you achieve an immense amount of popularity and business across the globe. I hope by now you might have got an introduction and importance of PHP open source.
How IPhone Apps Help to Corporate
By: Vimal Seo | 03/12/2009Nowadays many people want to know how iphone is work and how it is more helpful to people in regular life or in business world. iPhone is not only for individual purposes or just for small venders. It has applications useful for big enterprises too. Gadget attracted retailers, banks, Hospitality industry, software giants and many more.
How to Repair Java Errors and Errors that are Commonly Confused with Java
By: Amit Mehta | 02/12/2009Let’s all be honest. When we think of the word "java," what usually comes to mind is either a steaming cup of coffee or the island in Indonesia. When referring to computers, Java means something else entirely. For those of us that have no clue what this "Java" is or does, here is the lowdown on Java errors, what they are, and how to fix them.
Build Service Oriented Composite Applications with new Book on Oracle SOA Suite 11g
By: Swati | 02/12/2009Getting Started With Oracle SOA Suite 11g R1 is a new book from Packt that helps develop service-oriented composite application using the much anticipated Oracle SOA Suite 11g. Written by Oracle SOA Suite Product Management team members, this book walks the reader through the development of a services-oriented applications based on a real-life scenario.
Writing plugins for RDesktop
By: Apriorit Inc. | 01/12/2009This article was mostly written for Linux developers. The article gives a method of writing out-of-process plugins to open source software – i.e., plugins that will work as a part of the software but will run in another process, so their code may stay closed.
ASP.Net Listview Databinding
By: pons_saravanan | 01/12/2009Databind the ListView with database using ADO.Net datatable
Your mobile phone is too important not to have mobile antivirus software
By: Tom | 01/12/2009Mobile phone antivirus software and mobile phone antispam software have become important and popular features to have on your mobile phone these days.
What is web 2.0 ?
By: aditya | 10/11/2009 | InternetWeb 2.0 is the second generation of web development and web design. It provides more interactive facilities then web 1.0. Web 2.0 concepts have led to the development of web communities, hosted services, social networking sites, video sharing sites, wikis and blogs.
Different Phases of Software Life Cycle Model
By: aditya | 10/11/2009 | SoftwareA software before comes to market undergoes several number of stages. These series of stages that a s/w product undergoes during its lifetime is called "Software Life Cycle". A Life cycle model forms a common understanding among the s/w engineers. It helps to develop s/w in a systematic and disciplined way.
Basics of C programming Language
By: aditya | 10/11/2009 | ProgrammingA programming language is designed to help in processing of certain data and to provide useful information to the user. There are lots of programming languages today that satisfy different needs of the user. For example: C, C++, Java, SQL, HTML, JavaScript etc. It helps to write a sequence of instructions that the computer can understand.
4 Seo Tricks can Ban your Site from Search Engine !
By: aditya | 10/11/2009 | SEOIn this technique webmasters try to hide keywords inside page. Like put lots of keywords in white color in white background. Users can’t see these words but Search Engine Crawlers can. So, avoid such bad tricks.
15 Golden Tips for Top 5 position in Google
By: aditya | 10/11/2009 | SEOSEO (Search Engine Optimization) is the process of improving volume of traffic to a website from search engines. It is necessary in order to improve ranking in search engine results. Some simple steps are adopted for search engine optimization such as.
How to Earn $1000/Month using Adsense
By: aditya | 10/11/2009 | Affiliate ProgramsGoogle normally pays out an average of $0.50 per click. Nothing really, not even worth the effort if you're getting only 50 visitors a day. Considering that on average only about 2-5% of your visitors are going to click on your ads then even on a good day you're only going to get $1.25.
7 Free Resources to create a Excellent Blog
By: aditya | 10/11/2009 | BloggingMost popular blogging site is blogger.com. It provides lots of features like using your own template, using Adsense and publishing other Ads. Its easy to use interface is excellent for the beginners. Some other good blogging sites are wordpress.org, typepad.com and blog.co.in.
13 Reasons behind Termination of Adsense account
By: aditya | 10/11/2009 | Internet MarketingGoogle is very strict regarding their program policies. If at any time they find any violation of terms and conditions than you will be banned instantly. Once a publisher is banned means he is banned for life !! Generally, people get banned from Adsense because they attempt deceptive means to get more clicks. So, here I am explaining all those mistakes that you should avoid.