Part 1: Introduction
What is Programming?
PC writing computer programs is a vehicle for us to speak with PCs, very much like we utilize Hindi or
English to speak with one another. Writing computer programs is a way for us to convey our guidelines
to the PC.
What is C?
C is a programming language. C is one of the most seasoned and best programming dialects. C was
created by Dennis Ritchie in 1972.
Employments of C
C is a language that is utilized to program a wide assortment of frameworks. A portion of the
employments of C are as per the following:
Significant pieces of Windows, Linux, and other working frameworks are written in C.
C is utilized to compose driver programs for gadgets like Tablets, Printers, and so forth
C language is utilized to program installed frameworks where projects need to run quicker in restricted
memory.
C is utilized to foster games, a region where inertness is vital, i.e., a PC needs to respond rapidly to client
input.
, Part 1: Variables, Constants, and Keywords:
Factors
A variable is a holder that stores a 'esteem.' In the kitchen, we have compartments putting away rice,
dal, sugar, and so on Like that variable in c stores the worth of a steady. Model:
a=3 a is allocated "3"
b = 4.7 b is allocated "4.7"
c = 'A' c is allocated "A"
Rules for naming factors in c:
1. The principal character should be a letters in order or underscore(_).
2. No commas or spaces are permitted.
3. No uncommon image other than highlight is permitted
4. Variable names are case delicate
Constants
A substance whose worth doesn't change is known as a consistent.
What is Programming?
PC writing computer programs is a vehicle for us to speak with PCs, very much like we utilize Hindi or
English to speak with one another. Writing computer programs is a way for us to convey our guidelines
to the PC.
What is C?
C is a programming language. C is one of the most seasoned and best programming dialects. C was
created by Dennis Ritchie in 1972.
Employments of C
C is a language that is utilized to program a wide assortment of frameworks. A portion of the
employments of C are as per the following:
Significant pieces of Windows, Linux, and other working frameworks are written in C.
C is utilized to compose driver programs for gadgets like Tablets, Printers, and so forth
C language is utilized to program installed frameworks where projects need to run quicker in restricted
memory.
C is utilized to foster games, a region where inertness is vital, i.e., a PC needs to respond rapidly to client
input.
, Part 1: Variables, Constants, and Keywords:
Factors
A variable is a holder that stores a 'esteem.' In the kitchen, we have compartments putting away rice,
dal, sugar, and so on Like that variable in c stores the worth of a steady. Model:
a=3 a is allocated "3"
b = 4.7 b is allocated "4.7"
c = 'A' c is allocated "A"
Rules for naming factors in c:
1. The principal character should be a letters in order or underscore(_).
2. No commas or spaces are permitted.
3. No uncommon image other than highlight is permitted
4. Variable names are case delicate
Constants
A substance whose worth doesn't change is known as a consistent.