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
Class notes

C programming

Rating
-
Sold
-
Pages
23
Uploaded on
20-09-2025
Written in
2025/2026

Here are some key notes on C programming: - *Data Types*: int, char, float, double - *Control Structures*: if-else, switch, loops (for, while, do-while) - *Functions*: declaration, definition, function calls - *Arrays and Strings*: declaration, initialization, string functions - *Pointers*: basics, operations, passing to functions - *File Handling*: file I/O, file functions (fopen, fclose, fread, fwrite) These notes cover the fundamentals of C programming. Let me know if you'd like me to expand on any of these topics! [1][3]

Show more Read less
Institution
Course

Content preview

Unit 1
Basic concept of programming language:


Program:
 Statements or line or steps written on the basis of the syntax of a particular programming
language are called programs
 All instructions are written in some sequence.
 No matter what programming language is written in, it is always written in some human
language. therefore, those programming language whose code is written in human
speaking language are also called high level programming language.

 EXAMPLE:

#include<stdio.h>
#include<conio.h>
void main()
{
printf("hello world");
getch();


Types of programming language
1. High Level Programming Language:
 High level programming language are easy to understand and user-friendly
because they are written in human language like English etc.
 With the help of high level programming languages, we can write program which
can execute on different platforms (operating system).
 Translators are required for high level programming languages because CPU
cannot directly understand the code written in high level language.
 High level programming language include C, c++, java, Python, C# etc.

2. Low Level Programming Language:
 Low level programming language is also called machine language.
 After assembly and machine(binary) languages, the language closest to hardware
are c and c++. Some people also call c and c++ as low level language.
 Machine code is called low level programming language because like high level
programming language, it does not require translator, because it is written in
binary language which the CPU understands directly.
 It is difficult to write the code in in low level programming language because
binary is difficult to learn.

, Low level programming language executes faster in comparison to high level
programming language, because the CPU can understand the low level
programming directly, but the coding written in high level language is first
converted to binary with the help of a translator and the CPU executes the
converted code.

Note
 Another programming language was invented between high level programming
languages and low level programming language which was called assembly
language.it is a symbolic language, in which some symbols are used. Assembly
language do not use operators, control statements (if, while, do while).


Characteristics of programming language
 A programming language which is easy to learn and equally easy to write code in
it is considered a good programming language.
 The programming language which has good readability is also considered good.
here readability means that if you can understand the code written in a particular
language as well.
 Programming language should be portable. Portability means that if the code is
written in one machine is moved to another machine, then the code should
execute properly in other machine also.
 A program language should be platform independent, which means that the
application developed in a particular operating system can run on any operating
system.
 Programming language is considered good which provide a single tool like editor,
debugger, testing tool for writing code, environment for execution of application
and deploying the application etc.
 Those programming language are more famous whose syntax is user friendly.

History of c Language
 The creation of programming language began in 1950’s with FORTRAN
(FORMULA TRANSLATION) (1957).
 After FORTRAN LANGUAGE another programming language was developed
called ALGOL (ALGOrithmic language) (1960).
 The foundation of C is considered to be BCPL (BASIC COMBINED
PROGRAMMING LANGUAGE) by Martin Richards in year 1967.
 After the failure of BCPL in 1969, Ken Thompson picked up the B character from
BPCL and developed a new programming language called B language.
 In 1972, Dennis Ritchie developed the C programming language at AT &T bells
laboratories to re develop Unix operating system.
 In 1989-90, ANSI (American National Standards Institute) adopted the c language
and published it under the name “ANSI-C”

, Features of C Language
1. Procedural Language
In a procedural language like C step by step, predefined instructions are carried out. C program
may contain more than one function to perform a particular task. New people to programming
will think that this is the only way a particular programming language works. There are other
programming paradigms as well in the programming world. Most of the commonly used
paradigm is an object-oriented programming language.
2. Fast and Efficient
Newer languages like Java, python offer more features than c programming language but due
to additional processing in these languages, their performance rate gets down effectively. C
programming language as the middle-level language provides programmers access to direct
manipulation with the computer hardware but higher-level languages do not allow this. That’s
one of the reasons C language is considered the first choice to start learning programming
languages. It’s fast because statically typed languages are faster than dynamically typed
languages.
3. Modularity

Written for

Institution
Course

Document information

Uploaded on
September 20, 2025
Number of pages
23
Written in
2025/2026
Type
Class notes
Professor(s)
Shristi mehra
Contains
All classes

Subjects

$11.29
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
khushbookumari3

Get to know the seller

Seller avatar
khushbookumari3 Poddar international college
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
7 months
Number of followers
1
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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