×
Language:

Fundamentals of C Programming
CS 102 - Introduction to Programming
Department of Computer Science and EngineeringFaculty of EngineeringUniversity of MoratuwaSri Lanka

By:
Dilum Bandara, Dr. Sanath Jayasena, Samantha Senaratna

© Department of Computer Science and EngineeringFaculty of EngineeringUniversity of MoratuwaSri Lanka
∗∗∗

Department of Computer Science and Engineering
i
Table of Content
Chapter 1 – Introduction
1.1 Introduction to Programming

11.2 Program Development

11.2.1 Define the Problem 11.2.2 Outline the Solution

21.2.3 Develop the Algorithm 21.2.4 Test the Algorithm for Correctness 21.2.5 Code the Algorithm 21.2.6 Compile 21.2.7 Run the Program 21.2.8 Test, Document and Maintain the Program

31.3 Running a Program

31.4 Programming Languages

41.5 Overview of C 51.6 Steps in Developing a Program in C 5
Chapter 2 – Introduction to C Programming
2.1 An Example C Program 72.2 Your First C Program 72.3 C Tokens 82.4 Displaying Text 92.4.1 Escape Codes

102.5 Data Types 102.5.1 Primitive Data Types 112.5.2 Modifiers 112.6 Variables 122.6.1 Declaring Variables 122.6.2 Constants 122.7 Displaying Numbers 132.8 Formatted Input 15
Chapter 3 – Operators in C

3.1 Assignment Operator 163.2 Arithmetic Operators 173.2.1 Increment and Decrement Operators

173.2.2 Precedence and Associatively of Arithmetic Operators 183.3 Relational and Logical Operators 183.3.1 Precedence of Relational and Logical Operators 183.4 Bitwise Operators 193.4.1 Shift Operators 21
Search History:
Searching...
Result 00 of 00
00 results for result for
• p.
• Notes