C ch 1 what is c language
C is a pronounced "c-sharp".
It is a object -oriented programming language create by Microsoft that runs on the .net framework
C# has roots for the cfamily and the language is close to other popular language like c++ and java.
The first version was released in year 2002 the letest version c#8 was released in September 2019
C# is used for
#1 mobile app
#2 desktop app
#3 web app
#4 web service
#5 web sites
#6 games
#7 vr
#8 database app
#and mach more
WHY WE USE C#
#1 it is the most of the popular language in the world
#2 it is easy to use to learn and simple to code
#3 it has a object oriented language which gives a clear structure to program and allows code to be reused dowering development costs.
#5 as c# is close to c/c++ and java is u learn it the main consept is clear in all program
What is computer?
Computer is a election device that takes input , process and it gives output.
DIFFERENCE BETWEEN ELECTION AND ELECTRONIC
ELECTRIC:- ELECTION device work on low power in the device your are not able to get ELECTRIC shock .
ELECTRONIC:- ELECTRONIC device work on high power you are able to get ELECTRIC shock the be careful to use it.
WHAT IS 0 AND 1??
0 AND 1 is not a physical thing you can't touch this is only a 0==no power 1==power this formula work on any computers.
software ????
there is two type of software
1# application software
2# system software
Application software is user and oprated software by user!
And system software is a pre program sofware to handle task the computer to make easy and fast response!!
IDENTIFICATION IN C
what is identifier } as learn works like other language
1# contant
2# variable
3# keyword
Institutions }. As sentance like other language
#1 data type delalation institutions
#2 input/output institution
#3 arithmetic institutions
#4 control institutions
#CONTANT
Any information is contant
Data=information=contant
####### Type of contant
Primary. Secondary
Integar Array
Real. String
Character. Pointer
Union
Structure
Emulator
#INTEGAR
integar is a nber but on it there is no point..
#REAL
is a number point on it it's called real constant
#character contant
If single character on it it's called character contest like (2) (3) (s) a(). (Space)
character number used = symbol it's a hot character constant
#. STRING
A STRING IA ALWAYS ON A DOUBLE AUR MORE WORDS GROUP CALLED STRING
#. VARIABLE
VARIABLE ARE THE NAMES OF MEMORY LOCATION WHERE WE STORE DATA
#. RULES
#1 VARIABLE name is any combination of alphabet digit and underscore
Variable name can't start with digit
#. KEYWORD
what is identifier
Presenting words
Reverse words
List of keywords
Auto |. Double | goto | signed | whsigned
Break| default | if. | Size of | void
Case | else | int | static | white
Continue| extern| regited |switch
Cont | for | return | type def
Do | float | short | union
######## DATA TYPE DECLARATION
Instruction
What is instruction?
As we know sentance in programming languages it's it's called intrutions:-
Instruction are command
Type of instruction.
> Data type instuction
>Input output instuction
>Control inscution
#data type declaration instuction
Data type
.int
.char
. float
. double
.void.
###INPUT OUTPUT INTRUCIONS
#1 KEYWORD Is standard input device
#2 monitor is a output device
Comments
Post a Comment