C – typedef

167

The C programming language provides a keyword called typedef, which you can use to give a type a new name. Following is an example to define […]

C – Bit Fields

46

Suppose your C program contains a number of TRUE/FALSE variables grouped in a structure called status, as follows − This structure requires 8 bytes of […]

C – Unions

158

A union is a special data type available in C that allows to store different data types in the same memory location. You can define a union […]

C – Structures

23

Arrays allow to define type of variables that can hold several data items of the same kind. Similarly structure is another user defined data type available in […]

C – Strings

7

Strings are actually one-dimensional array of characters terminated by a null character ‘\0’. Thus a null-terminated string contains the characters that comprise the string followed by a null. […]

C – Pointers

146

Pointers in C are easy and fun to learn. Some C programming tasks are performed more easily with pointers, and other tasks, such as dynamic […]

C – Arrays

127

Arrays a kind of data structure that can store a fixed-size sequential collection of elements of the same type. An array is used to store […]

C – Scope Rules

0

A scope in any programming is a region of the program where a defined variable can have its existence and beyond that variable it cannot […]

C – Functions

117

A function is a group of statements that together perform a task. Every C program has at least one function, which is main(), and all the […]

C – Loops

171

C – Loops You may encounter situations, when a block of code needs to be executed several number of times. In general, statements are executed […]

C – Decision Making

94

Decision making structures require that the programmer specifies one or more conditions to be evaluated or tested by the program, along with a statement or […]

C – Operators

91

An operator is a symbol that tells the compiler to perform specific mathematical or logical functions. C language is rich in built-in operators and provides […]

C – Storage Classes

1

A storage class defines the scope (visibility) and life-time of variables and/or functions within a C Program. They precede the type that they modify. We […]

C – Constants and Literals

0

Constants refer to fixed values that the program may not alter during its execution. These fixed values are also called literals. Constants can be of any […]

C – Variables

99

A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C has a specific type, […]

C – Data Types

0

Data types in c refer to an extensive system used for declaring variables or functions of different types. The type of a variable determines how […]

C – Basic Syntax

4

You have seen the basic structure of a C program, so it will be easy to understand other basic building blocks of the C programming […]

C – Program Structure

95

Before we study the basic building blocks of the C programming language, let us look at a bare minimum C program structure so that we […]

C – Environment Setup

23

If you want to set up your environment for C programming language, you need the following two software tools available on your computer, (a) Text […]

C Language – Overview

97

C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was […]