introduction-of-c
c-introduction

 Alphabets ab, b, c like those, without alphabets we can’t read, write, or we can’t communicate. The same way we know about numbers for calculations in our daily usages right. You want to speak about any topic first know the language then you know the concept of your topic.

Like that as my knowledge if you want to become a programmer you must and should start learning with c language only. All languages like c++, java etc, language features derived from c language. If you learn perfectly c language you can learn easily other programming languages CPP, JAVA, DOT NET, .etc.

WHAT IS A LANGUAGE

Language is a Communication media between two persons are two things. Like if we both are talking with each other by using some English language. In the same, we can communicate person to computers, person to mobile phones, computers to computers by their understandable languages.

WHAT IS A PROGRAM

Program set of instructions. Programming way instruction is a collection of OPERATOR and OPERAND EX: C=a+b. a,b,c,are the operators and +, = are operands.

WHAT IS ALGORITHM

An algorithm is a STEP BY STEP procedure of given task.
In our daily life start and end with step by step process only.

DEFINE FLOWCHART

Flowchart is an pictorial representation of an ALGORITHM

Introduction of C-Language. We will have so many questions while one new technology or a new program or new thing will come once out into the market. Who invented, what is the use. How we will use, It will use for me or not as these question will come in our minds.  When C, Why C, Who developed C for all the details read the full post

C Language Introduction

In 1972 a programmer Dennis Ritchie, created a new language name C. C superseded the old programming language he was using: B, C designed with one goal in mind writing operating systems.C language extremely simple and flexible types of programs. It quickly became one of the most popular programming languages in the world.


History of C Programming Language

  • Dennis Ritchie is the founder of c language.
  • To overcome the problems of previous language c was developed. 
  • For usage of Unix operating system c language was developed.
  • The beginning of C was intended to be useful to allow busy programmers to get things done. C is a powerful, domain and supple language, its use quickly spread beyond Bell labs. in the late 70’s.

A Guide To WHY NAME “C”

  1. B language Principles and ideas derived in c
  2. Kene Thompson was developed of B language.
  3. BCPL, CPL isthe earlier ancestors of B language.
  4. CPL is Common Programming Language. In 1967, BCPL language( Basic CPL) was created as a scaled down version of CPL.
  5. C language many feature are derived from B language for that its named as c
  6. After 7-8 years C++ came into existence.

C-Language Development

LanguageYearDeveloped By
Algol1960International group
BCPL1962Martin Richard
B1970Ken Thompson
Traditional c1972Dennis Ritchie

Features of C-Language

Fast and Efficient: Programs written in C are efficient and fast. This is due to its variety of data type and powerful operators.

Portable:C is highly portable. Means with or without modification c programs once written run on another machine.

Function and Rich Libraries: C program is a collection of functions all the supported functions in C library. We can also create our own functions and add it to the C Library.

Easy to Extend: Programmer can add any new feature at any time.

Case Sensitive: It is a case sensitive language, that it can differentiate the character is upper case or lower case.Powerful

Provides wide verity of “Data types, Function, and Loop Control Statements. Bit Manipulation. C Program can be manipulated using bits. We can perform different operations at the bit level. We can manage memory representation at the bit level.


Structure of C Program

* C Program Contain one more section.

Documentation section
Link Section
Global Declaration Section
main()Function Section
{
Declaration Part
Executable Part }
Subprogram Section

Structure of C-program

Documentation section: Consists set of comment lines giving a name of the program, author and other details, which the programmer would like to use later.

The link section provides instructions to the compiler to link functions from the system library.

The definition section defines all symbolic constant. There is some variable that is used in more than one function. Those variables are called global variables and declared in the global declaration section that is outside of all the functions. This section also declares all the user-defined functions.

Every c program must have one main function section. The main section having two parts, one is declaration part and the other one executable part.

Declaration part declares all variables used in the executable part.Because  of at least one statement in the executable part. These two parts must appear between the opening and closing braces.

The program execution begins at the opening brace and ends at closing brace. The closing brace of the main function section is the logical end of the program. All statements in the declaration and executable parts end with a semicolon(;). The subprogram section contains all the user defined functions that are called in the main function. In main function User-define functions are placed.

Conclusion: Laks tutorial always tries to provide information in a simple and easy way to understand our readers. If you like the content subscribe us you get our latest posts directly to the Inbox. Encourage with your like of our Facebook page.

More Articles ?