[go: up one dir, main page]

0% found this document useful (0 votes)
28 views3 pages

Unit I Basics of C Programming

The document outlines 3 units that cover basics of C programming including data types, arrays and strings, functions and pointers. Unit I covers data types, operators, expressions, control statements. Unit II covers arrays, strings, sorting algorithms. Unit III covers functions, pointers, parameter passing mechanisms.

Uploaded by

rajalakshmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views3 pages

Unit I Basics of C Programming

The document outlines 3 units that cover basics of C programming including data types, arrays and strings, functions and pointers. Unit I covers data types, operators, expressions, control statements. Unit II covers arrays, strings, sorting algorithms. Unit III covers functions, pointers, parameter passing mechanisms.

Uploaded by

rajalakshmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

UNIT I BASICS OF C PROGRAMMING

Introduction to programming paradigms


Applications of C Language
Structure of C program
C programming: Data Types - Constants
Enumeration Constants
Keywords – Operators
Precedence and Associativity
Expressions
Input/output statements
Assignment statements
Decision making statements
Switch statement
Looping statements
Preprocessor directives
Compilation process
UNIT II ARRAYS AND STRINGS

Introduction to Arrays
Declaration, Initialization
One dimensional array
Two dimensional arrays
String operations:
length, compare, concatenate, copy
Selection sort
linear and binary search
.

UNIT III FUNCTIONS AND POINTERS


Modular programming
Function prototype
function definition
function call
Built-in functions
(string functions, math functions)
Recursion
Binary Search using recursive functions
Pointers
Pointer operators
Pointer arithmetic
Arrays and pointers
Array of pointers
Parameter passing:
Pass by value, Pass by reference.

You might also like