Victor S. Borisov and Petr N. Vabischchevich

1 An introduction to C

Abstract: In this chapter we present a brief description of the basics for the C programming language, which is very popular in scientific and engineering computations. It is assumed that the reader is familiar with the programming fundamentals.

1.1 Syntax

The basic syntax constructions of a C program are described below in order to understand the codes presented in other chapters of the book.

1.1.1 Characters

The following characters are used in C:

  • – The upper and lower case letters:
    e9783110359923_i0002.jpg
  • – Decimal numerals:
  • – Punctuation marks:
  • – Whitespace: space, tab, newline and form feed. ...

Get Computational Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.