O'Reilly logo

Programming in C: A Practical Approach, First Edition by Ajay Mittal

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

1

Data Types, Variables and Constants

Learning Objectives

In this chapter, you will learn about:

  • Various features of C language
  • Various C’s standards
  • C’s character set
  • Identifiers and Keywords
  • Rules to write identifier names in C
  • Data types, type qualifiers and type modifiers
  • Declaration statement
  • Difference between declaration and definition
  • Length and Range of various data types
  • l-value and r-value concept
  • Variables and constants
  • Classification of constants
  • Structure of a C program
  • Process of compiling and executing a C program
  • Writing simple C programs
  • Using printf and scanf functions
  • Use of sizeof operator

1.1 Introduction

C is a general-purpose, block-structured, procedural, case-sensitive, free-flow, portable and high-level programming ...

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