Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Basic Introduction to C programming

Rating
-
Sold
-
Pages
13
Uploaded on
24-06-2024
Written in
2023/2024

Introduction to C programming

Institution
Course

Content preview

Introduction to C language


History of C ProgrammingLanguage
• The C programming language was developed by Dennis Ritchie at Bell Laboratories in the
early1970s

• Influenced by following previous High levellanguages
o ALGOL60(1960),
o CPL (Cambridge,1963),
o BCPL (Martin Richard, 1967), (Basic Combined ProgrammingLanguage)
o B (Ken Thompson,1970)
o B language is modified by Ritchie and new Language is named as C

• C is a general-purpose language which has been closely associated with the UNIX OS for
which it was developed - since the system and most of the programs are written inC.




C Standards
• Standardized in 1989 by ANSI (American National Standards Institute) known as
ANSIC
• International standard (ISO) in 1990 which was adopted by ANSI and is known asC89

, Characteristics of C Programming languages
• C is a structured programming language
• Provides various operators, such as arithmetic, increment, decrement & relational
• Helps to develop efficient programs & system software
• Can be compiled & executed on any computer
• Allows manipulation of internal processor registries
• Provides various data types
• Allows use of pointers for memory, array, structure & functions
• Provides high level constructs
• Allows programmers to use function calls


Steps for Learning Programming Languages
• Instead of straight-away learning how to write programs, we must first know what
alphabets, numbers and special symbols are used in C,
• then how using them constants, variables and keywords are constructed, and
• Finally how are these combined to form an instruction
• A group of instructions would be combined later on to form a program.
• So, a computer program is just a collection of the instructions necessary to
solve a specific problem.
• The basic operations of a computer system form what is known as the
computer’s instruction set.
• And the approach or method that is used to solve the problem is known as
an algorithm.

Character
Tokens Statements Program
Set


Character Set
• Set of characters are used in writing C program
• Following are the set of characters used
o Alphabets
o Digits
o Special characters
o Whitespaces
• The entire set of characters is listed in below table

Written for

Institution
Course

Document information

Uploaded on
June 24, 2024
Number of pages
13
Written in
2023/2024
Type
SUMMARY

Subjects

$10.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
roopesh3905

Also available in package deal

Get to know the seller

Seller avatar
roopesh3905 Visvesvaraya Technological University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
1 year
Number of followers
0
Documents
12
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions