Search for notes by fellow students, in your own course and all over the country.

Browse our notes for titles which look like what you need, you can preview any of the notes via a sample of the contents. After you're happy these are the notes you're after simply pop them into your shopping cart.

My Basket

You have nothing in your shopping cart yet.

Title: Introduction Of C Programming
Description: Course : C Programming Introduction. This notes include History of C, Program structure, Basic rules and Concepts of C programming.

Document Preview

Extracts from the notes are below, to see the PDF you'll receive please use the links above


By Praveen

By Praveen

Session Objectives
 Discuss the Origin of C
 Features of C
 Characteristics of C
 Current Uses of C
 “C” Programming Structure
 Character Set

By Praveen

“C” is a Middle Level language

By Praveen

“C” is a Structure & Procedure Oriented Programming
language developed by Dennis Ritchie at AT&T Bell Laboratories
in USA in the Year 1972
(Basic Combined Programming Language)

By Praveen

Features of “C” Language
 Economy of Expressions
 Modern Control Flow and Structures

 Rich Set of Operators
 It is Well suited for writing both System
Software
like
Operating
Systems,
Interpreters,
Editors
and
Assembly
Programs
By Praveen



UNIX Operating System was Developed by Using “C”

Language


Developing database Systems



Graphics Packages



Spread Sheets



Word Processors



Office automation



Scientific/Engineering Applications



CAD/CAM Applications

By Praveen

Preprocessor Directives (Incl
...

 They are not translated into machine language, but are
operated upon directly by the compiler before the
compiling process begins
...

By Praveen

A lot of library functions are
subdivided into number of groups
...
h>

Examples:

#include ...
h>

Stdio
Conio
Void
main()
By Praveen

-> Standard Input/Output
-> Console Input/Output
-> Keyword
...

-> It is a function name which can be used to
indicate the beginning of the program
execution

C has 32 keywords
...

Rules to be followed for all programs written in C
All keywords are lowercased
C is case sensitive, do while is
different from DO WHILE
Keywords cannot be used as a
variable or function name
By Praveen

By Praveen

Programs
Instructions
Keywords

Constants,
variables &
Data Types

Alphabets,
Digits,Special
Characters

A Character denotes an alphabet, digit or a special
character
...

Lowercase Letters – A,B,C…
...
5
-0
...
They are always preceded with a
backslash

By Praveen

Variables are named locations in memory that are used to
hold a value that may be modified by the program
...
end

m1
mark_1

RULES for framing a variable :
The first character in the Variable name must be an alphabet
Alphabets can be followed by a number of digits or

underscores
No commas or Blank spaces are allowed within a variable
name
No Special character other than Underscore(_) can be used in
a variable name
...
Type Definition
Example:

Typedef int age;
age male,female

2
...
Why it is required to include header files your C program?
2
...
Why is the main() function is so special
4
...
State the use of comment symbol in a program?
6
Title: Introduction Of C Programming
Description: Course : C Programming Introduction. This notes include History of C, Program structure, Basic rules and Concepts of C programming.