Introduction To C' Language: Ce143: Computer Concepts & Programming
Introduction To C' Language: Ce143: Computer Concepts & Programming
Introduction To C' Language: Ce143: Computer Concepts & Programming
Chapter – 1
Many of C’s principles and ideas were derived from the earlier
language B. (Ken Thompson was the developer of B Language.)
After 7-8 years C++ came into existence which was first example
of object oriented programming .
#include <systemFilename>
Eg.
#include<stdio.h> // Standard Input/Output
#include<math.h> //Advanced Math
Function(eg.Trignometry)
#include<conio.h> // Console Input / Output
#include<stdlib.h> // Arithmetic and Sorting & Searching
Eg.
printf(“Message”, Variable or Variable List);
printf(“Hello”);
Printf(“Answer : %d”,Sum);
Assembler
Assembler translates the assembly language code into machine
language.
Converted code having extension “.o” (Object file)
Chapter – 1 –: Introduction
Chapter to ‘C’
4 : Introduction to Language
‘C’ Language
1-3 Procedural Oriented Programming (POP)
A program in a procedural
language is a list of instruction
where each statement tells the
computer to do something. It
focuses on procedure (function) &
algorithm is needed to perform
the derived computation.
When program become larger, it
is divided into function & each
function has clearly defined
purpose. Dividing the program
into functions & module is one of
the cornerstones of structured
programming.
E.g.:- c, basic, FORTRAN.
Chapter – 1 –: Introduction
Chapter to ‘C’
4 : Introduction to Language
‘C’ Language
Questions from previous year papers
1. What is the significance of Compiler?
(2 Marks)
2. Which are the Pre-processer directive? (2 Marks)
3. Define any two chracteristics of C Language with
example. (3 Marks)
4. What is the purpose of Linker?(2 Marks)