2. COMPUTER SYSTEMCHARACTERISTIC
• Characteristics of computers that have made them so powerfull and
universal useful are speed, accuracy, diligence, versatility and storage
capacity.
• Computer hardware is the collection of physical parts of a computer
system, e.g: monitor and mouse
• System software implicit the operating system and all the uses that
enable the computer to go through the function.
• Input/output device is any hardware used by a human operator or
other system to communicate with a computer.
3. HISTORYOF C PROGRAMMING
• It was developed at AT&T’s Bell laboratory.
• It was designed and developed by Dennis Ritchie.
• It was developed in 1972.
• C is a structured programming language.
• C program built from
variables and type declarations
functions
statements
expression
4. TOKENS, KEYWORDSAND CONSTANT
• The smallest individual units in a c program are know as
token.
• C has six different types of tokens are keywords, identifiers,
constant, strings, specialsymbols,operators.
• Keywords are the words that have special meaning to the c
compiler.
• Keywordsalwayswrittenin only lowercase.
• Constant in c are the fixed values that donot change during
the execution of a program.
5. CONTROLAND SWITCHSTATEMENT
• if statement is an optional case whether use it no not
else statement, which executes when the true or false
expression is false.
• A switch statement tolerate a variable to be tested for
equality versus a list of values. Each value is called a
occurrence.
• Do-while statement fabricate a structured loop that
executes as long as specified condition is true .
6. ARRAYANDFUNCTION
• An array is a box structured objectthat holds a fixed
number of values of a singletype.
• An array is a collectionof one or more valuesof the same
type. each value is called an element of the array
• A string is an array characters. The maximum size is the
same for allthe strings stored in a threedimensional array.
• Two typesof storage classthereare automatic and static.
7. POINTERS ANDFUNCTION
• A pointer is an variable whose value is the address of
another variable.
• The actual data type of the value of all pointer,
whether integer, float.
• An array of pointers to string is an array of character
pointer where each pointer points to the first character
of the string or the base address of the string.