A small journey in programming using C Language. In This Presentation i provide a small introduction about C Language.
Our Company APSMIND TECHNLOGY PVT LTD actually provide Application/software development training using various language like C, C++, java, .Net, PHP etc.
We also ,develop application and website for various client as for their requirement.
11. What is C language
C is a computer programming language.
Which is developed in 1972 by “Dennis Ritchie” at the Bell Telephone
Laboratories for use with the Unix operating system.
C was evolved from ALGOL, BCPL and B language. C uses many
concepts from these languages.
Although C was designed for implementing system software, it is also
widely used for developing application software.
It is widely used on a great many different software platforms and
computer architectures, and several popular compilers exist. C has
greatly influenced many other popular programming languages, most
notably C++, which originally began as an extension to C.
12. Content of C language
Variable Data Type Operator
Control
statement
Header File
Arrays
& Strings
Functions Pointers
Structures
& Unions
Loops
13. Header File
• In C programming languages, a header file or include file is a file,
usually in the form of source code, that is automatically included
in another source file by the compiler.
• Typically, header files are included via compiler directives at the
beginning (or head) of the other source file.
C has different types of Header File.
conio.hstdio.h stdlib.h ctype.h process.h
14. Variable & Data Type
The Variable are the memory places which provide the memory to
the coming up value. The variable is a data name. It have a unique name
In C language Variable are two types.
Variable
2.
Non-VolatileVolatile
1.
Data Type
2.
Built InUser Define
1. 3.
Derived
Data Type are three types.
Data Type indicates the type of value the variable can contain.
It specifies the size of the variable that will be occupied by it in
memory.
15. Operators & Pointers
In C language many of kinds of operators are present like . . .
Operators
Pointers
The Pointer is a variable that contains the address of
a location in memory. The location is the starting point of an
allocated object, such as an object or value type, or the
element of an array.
2.
RelationalArithmetic
1.
ConditionalLogical
3. 4.
The Operator is a symbol that represents a specific action.
For example, a plus sign (+) is an operator that represents addition.
16. Control Statement & Loops
C program is a set of statements. The control statement to see
Whether a particular condition has occurred or not.
C supports some statement like . . .
Control statement
Loops
2.
while loopfor loop
1. 3.
do while loop
In C language Loops are three types.
2. switch
statement
if statement
1. 3. goto
statement
Loops are used to execute the statements repeatedly .
17. Arrays & Strings
An array is a fixed-size sequenced collection of the same
data type. It is simply a grouping of like-type data.
C language has three types of Arrays . . .
Arrays
Strings
A string is a sequence of characters that is treated
as a single data item.
2.
Two- DOne- D
1. 3.
Multi- D
18. Functions
A function is a self-contained block of code that performs a
particular task.
Once a function has been designed and packed, it
can be treated as a ‘black box’ that takes some data from the main
program and return a value.
C functions classified into two categories,
User-Define FunctionsLibrary Functions
1. 2.
19. Structures & Unions
A structure is a collection of data items of different types.
C language supports a constructed data type know as structures,
A mechanism for packing data of different types. For example ,
It can be used to represent a set of attributes, such as
student_name, roll_number and marks.
Structures
Unions
Unions are a concept borrowed from structures.
A union contain many members of different types,
it can handle Only one member at a time.