The Secret Of C-LANGUAGE INTRODUCTION

0
282
introduction-of-c
c-introduction

 Alphabets ab,b,c like those, without alpha bets we can’t  read ,write, or we can’t communicate.Same way we know about numbers for calculations in our daily usages right. we wants to speak about  something first we know the language then we know the concept of your topic.

like that  as my knowledge if you wants to became a programmer you must and should start learning with c language only. All language like c++,java etc. language features are derived from c language. For that reason 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 is nothing but set of instructions. Here in programming way instruction is nothing but collection of OPERATOR and OPERAND EX: C=a+b. a,b,c are operators and +, = are operands.

WHAT IS AN ALGORITHM

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

 C language introduction. Before we learn C language we have to know something about c language.We have lot of questions while one new technology or new program or new thing will came once out in to the market. Who invented, what is the use. How we will use,It will use for me or not like these question will came in our minds.  When C, Why C,Who developed C for all the datails read full post

C Language Development

In 1972 a programmer Dennis Ritchie, created a new language name C. C superseded the old programming language he was using :B C was designed with one goal in mind writing operating systems.The language was 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 over come the problems of previous language c was developed. 
  • For usage of Unix operating system c language was developed.

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 and CPL are the 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.

Before C language developed programming languages

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 machines. 

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 bit level. We can manage memory representation at bit level.

Structure of C Program

A C program may contain one or more sections as below.

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

Structure of C-program

The Documentation section Consists of a set of comment lines giving the name of the program, the 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 are some variable that are used in more than one function. That variables are called global variables and those 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. This section contains two parts, declaration part and executable part.The declaration part declares all the variables used in the executable part.There is 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. User-defined functions are generally placed immediately after the main function, although they may appear in any order.

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

YOU CAN ALSO READ

SHARE
My self Ekambharam passion in blogging to provide the free information to the beginners

LEAVE A REPLY

Please enter your comment!
Please enter your name here