# Polytechnic, Department of Electrical Engineering,

## Department of Electrical Engineering,

### Semester I

Near Shastri Bridge, Fatehgunj, Vadodara-390001, <<e-mail ID>>

UNIT-I

UNIT-II

UNIT-III

UNIT-IV

### COURSE CONTENT / SYLLABUS

Overview Of ‘C’

1.1

Introducing ‘C’

1.1(1)

1.1(2)

1.1(3)

Character Set In ‘C’

Punctuation & Special Characters.

C Key Words.

1.2

1.1(4) General Form Of ‘C’ Function

Operators In ‘C’

1.2.1

Arithmetic Operator.

1.2.2

1.2.3

1.2.4

1.2.5

Relational Operator.

Logical Operator.

Bitwise Operator.

The ? Operator.

1.3

Variables

1.3.1

Types Of Variables

1.3.2

1.3.3

1.3.4

Char ; Int ; Short Int; Unsigned Int; Long Int; Float Int : Double.

Declaration Of Variables.

Storage Classes

1.3.5

1.3.6

Auto ;Static;Register ;External ;Global ;Local

Scope Of Storage Classes.

C Standard Library Functions

2.1

2.2

Character Input - Output Function

Getchar () ; Gets (); Putchar (); Puts (); Printf (); Scanf ();

Text. Character Utility Function.

2.3

2.4

Strlen () ; Strcpy (); Strcat (); Strcomp (); A To I ();Upper(); Lower ().

File I/O Function :- Creat (); T Open (); F Close (); F Gets (); Fput ()

Memory Management Function : Malloc () ; Frac ()

Control Statements & Loops :-

3.1

The If Statement

3.2

3.3

3.4

3.5

3.6

3.7

3.8

3.9

3.10

3.11

3.12

The If-Else

The Switch-Case-Statement.

The Continue Statement.

The Return Statement.

The For Loop.

The While Loop.

The Do-While Loop

The Break Statement.

The Exit ( ) Function.

Labels And Go To

Pointers :-

4.1

4.2

4.3

Operator Of Pointers (‘&’ And ‘*’)

Pointer Asignment.

2015-2016

CREDIT

HOURS

-

-

--

--

--

--

1.

2.

3.

4.

5.

UNIT-V

UNIT-VI

4.4

4.5

Pointer Expression->

4.4.1

Pointer Arithmatic

4.4.2

Pointer Comparision.

Pointer & Arrays.

4.5 1.

4.5.2.

Pointers To Character Arrays.

Pointers To General Arrays.

4.5.3.

4..5.4.

Pointers To Pointers.

Pointers To Functions.

Arrays :-

6.1

6.2

6.3

6.4

6.5

6.6

5.1

5.2

Single, Two & Multidimentional Array ;

Arrays V/S Pointer In Multidimentional Arrays.

5.3

Allocated Arrays.

Structures & Unions :-

Declaration Of Structures.

Referencing Structure Elements.

Arrays Of Structures.

Passing Structures To Functions.

Array And Structures Within Structures.

Union Declaration

File Handling In 'C'

UNIT-VII

UNIT-VIII

Basic Data Structures Used In 'C'

### REFERENCES

Let us C By Y. Kanetkar

C made EASY By Herbert Schildt - McGraw- Hill

Programming with ANSI C By Balaguruswamy

Understanding C - Brace H. Hunter -BPrB

The C Programming Language - Kernighan & Ritchie.

--

--

--

--