O'Reilly logo

C Programming for Scientists and Engineers with Applications by Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER

2

Basic Elements of the C Programming Language

2.1 Introduction to C

2.2 Constants and Variables

2.3 Arithmetic Operations and Expressions

2.4 Overview of Implementation

2.5 First Complete Programs

Chapter Summary

Exercises

Objectives

To learn the syntax and semantics of the C language. To learn the logical and physical structure of programs and the types of data that can be processed.

C is a versatile, flexible, and powerful programming language that was designed and developed in 1972. C incorporated many of the ideas of its ancestral languages BCPL and B. BCPL (Basic Combined Programming Language) was developed in 1967 by Martin Richards. BCPL was a typeless (no data types) language using machine words and machine addresses. In ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required