C - Language की परिभाषा क्या है || Hbs computer course

Hello friends welcome to my blog in this blog we will learn what is the definition of  C - Language

C language was developed by Dennis Ritchie in 1972 at AT & T Bell laboratory USA.

Program 

Set of instruction in specific & finite order is called program.

Algorithm 

Step by step description of logic of any program in users language is known as algorithm,for example addition of two numbers- 

1.Start 

2.Output c 

3.Input a,b 

4.c=a+b 

5.End 

EXAMPLE  - Write a program to find multiplication of 3 numbers.

1 Start 


2 Input a,b,c


3 d= a*B*C


4 output d


5 End

EXAMPLE -Write an algorithm to find area of rectangle.

1 Start 


2 Input length .Breath


3 Area = length.Breath 


4 Output  area


5 End

EXAMPLE-Write a program to find interest 

SI= principal*rate*time/100

1 Start


2 Input principal , rate, time /100 


3 SI= principal * rate* time /100 


4 Output SI 


End .

EXAMPLE- Write an algorithm to find area of circle .

1 Start 


2 Input


3 Area 3.14 *r*r


4 Output area


5 End

EXAMPLE -Write an algorithm to print your own name 

1 Start 


2 Output  ..name...


3 End 


Alphabets -> words -> sentence -> paragraph 

C- language set -> keyword-> Instruction->Program

Character set- 

                                  Set of all those characters which we can write or use in c language are its character set.


Example- A TO Z,  a to z,  0 to 9


special symbol -> +,  - , *, /, % etc 







Comments