Programming in C
S.Y.B.Sc. SEM III EL-218
Authors:
ISBN:
Rs.120.00
- DESCRIPTION
- INDEX
We are happy to present the textbook titled “EL-218: Programming in C”, prepared
in accordance with the revised syllabus under the National Education Policy (NEP)
2020. This book is designed to introduce undergraduate students to the fundamentals
of programming using the C language—one of the most widely used and powerful
programming languages in the field of computer science and electronics.
The contents of this book are carefully structured to provide both theoretical
understanding and practical programming skills. The major units covered include:
• Fundamentals and Elements of ‘C’ Program: Introduction to the structure of
a C program, data types, variables, constants, and input/output operations.
• Operators and Conditional Statements: Detailed explanation of arithmetic,
logical, relational operators, and decision-making statements like if, else, switch,
etc.
• Arrays and Strings: One-dimensional and two-dimensional arrays, string
handling functions, and related concepts.
• Functions and Pointers: Understanding modular programming through
functions, function types, recursion, and the concept and applications of pointers.
This book is written in a simple and student-friendly language with numerous
examples, flowcharts, and sample programs to aid understanding and encourage hands-on
practice. It aims to build strong programming logic and problem-solving abilities among
learners.
We take this opportunity to express our sincere thanks to Mr. Rangrao Patil, Prashant
Publication, Jalgaon, for his constant support, guidance, and commitment to academic
excellence. His efforts in bringing quality educational content to students are truly
commendable.
We hope this book serves as a valuable resource for students and helps them take
their first confident steps into the world of programming. Suggestions and feedback for
further improvement are always welcome.
Chapter 1…………………………………………………………………………………… 7
Fundamentals and Element of ‘C’ Program
1.1 Introduction
1.2 Variables and Declaration of variables.
1.3 C-Tokens
1.4 Constants
1.5 Data types
1.6 Input and Output Statements in C
1.7 Pre-processor directives in C.
Chapter 2…………………………………………………………………………………. 22
Operators and Conditional Statements
2.1 C- Operators
2.2 C Precedence and Associativity of Operators
2.3 Type Conversion is of two type
2.4 Decision Making and Looping
2.5 Looping in C
2.6 Continue and Break Statement
Chapter 3…………………………………………………………………………………. 53
Arrays and Strings
3.1 Array: declaration and Initialization, Types of array
3.2 Advantages and disadvantages of array.
3.3 Applications of array
3.4 String Function: strcpy(), strlen(), strcmp(), strcat(), strrev(). Chapter 4…………………………………………………………………………………. 71
Functions and Pointers
4.1 Functions: Function Declaration and Prototypes in C
4.2 Function Calling in C
4.3 Classification of Functions in C
4.4 Recursion.
4.5 Pointers
Author
Related products
-
Hardware and Networking
Rs.115.00 -
ELE-202 | Digital Circuits
Rs.80.00



