Programming in C for foundation

This book on C programming language is a comprehensive tutorial and reference to C based on the ANSI C standard for beginners. The C language is demonstrated with numerous examples and extensive exercises that guide readers through each concept. Step-by-step of program code reveal the underlying l...

Full description

Saved in:
Bibliographic Details
Main Authors: Bakar, Noor Hasrina, Hassan, Noor Azimah, Idris, Mohd Norhaedir, Al-Shawabkeh, Mahmoud
Format: Book
Language:English
Published: IIUM Press 2014
Subjects:
Online Access:http://irep.iium.edu.my/36320/1/programming.pdf
http://irep.iium.edu.my/36320/
http://rms.research.iium.edu.my/bookstore/default.aspx
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:This book on C programming language is a comprehensive tutorial and reference to C based on the ANSI C standard for beginners. The C language is demonstrated with numerous examples and extensive exercises that guide readers through each concept. Step-by-step of program code reveal the underlying logic of the programs and include in-depth implementation details. Features in this book include comprehensive programming examples and exercises; and an expanded appendix of Numbering System, ASCII Code, and DevC++ tutorial. In addition, there is more emphasis on variable Data Types, which provides the reader with a foundation for working with variables and facilitates programming in the problem domain. Beginners’ programmers alike will benefit from the numerous examples and extensive exercises developed to guide readers through each concept. Program codes illuminate the correct usage and syntax of C language and reveal the underlying logic of application. The clarity of exposition and format of the book make it an excellent reference to first step programmers. It is intended for use in either a foundation level or first year programming course. Chapter 1, "Introduction to C programming," presents an overview of the language. After reading this chapter, the reader will already be able to describe the program development life cycle and write C code. Chapter 2, "Fundamentals of C" gives a thorough introduction to the data in C programs. This information will benefit the reader needing to declare assign and initialize data variables. Small but useful examples are provided to describe important technical points. Chapter 3 has a careful discussion of “Control Structures” which is often a mystifying topic for the beginner. The chapter describes logical and relational operations, if-else and switches selection, and the iterations (while, do-while, and for lops). Chapter 4 “Modularity using functions” identifies the two types of functions in C the built-in and user defined functions. Chapters 5 and 6 cover the application level of C language feature by feature. Many advanced topics of “Arrays” and “Strings” are discussed. Search and sort as well as passing arrays between functions are demonstrated in chapter 5 the longest chapter in the book. The use of strings is illustrated in Chapter 6. The chapter demonstrates the concept of character and strings functions. Since the chapters are self-contained, the knowledgeable reader can skip to particular sections as needed.